Beginner needs help with template found on web
Posted: Thu Feb 09, 2006 1:43 pm
Hi,
I found a style sheet and template on the web that I really like. He includes a screen CSS, a print CSS, an index.html, and an images folder.
I can't seem to figure out how to replicate his look using CMS made simple. I added the CSS but what do I use for the Template itself?
Does anything need to be modified to make it work with CMS made simple? I guess I'm just really lost on this templates/CSS thing, even after reading the documentation.
The style sheet is here:
Version: 1.0
(July 27, 2005)
Screen layout: */
body {
padding: 0;
margin: 0;
font: 76% tahoma, verdana, sans-serif;
background: #e0e0e0;
color: #303030;
}
a {
text-decoration: none;
color: #286ea0;
}
a:hover {
text-decoration: underline;
}
#toptabs {
margin: 10px auto -13px auto;
font-size: 0.8em;
width: 760px;
}
#toptabs p {
text-align: right;
color: #808080;
}
.toptab {
text-decoration: none;
background: #f0f0f0 url('images/corner2.gif') no-repeat top right;
color: #808080;
border-bottom: 1px solid #e0e0e0; margin-left:4px; margin-right:0; margin-top:0; margin-bottom:0; padding-left:5px; padding-right:5px; padding-top:3px; padding-bottom:3px
}
.toptab:hover {
background: #fafafa url('images/corner2.gif') no-repeat top right;
border-bottom: 1px solid #eaeaea;
color: #505050;
text-decoration: none
}
.activetoptab {
color: #505050;
text-decoration: none;
background: #ffffff url('images/corner2.gif') no-repeat top right;
border-bottom: 1px solid #ffffff; margin-left:4px; margin-right:0; margin-top:0; margin-bottom:0; padding-left:5px; padding-right:5px; padding-top:3px; padding-bottom:3px
}
.activetoptab:hover {
text-decoration: none;
}
#container {
margin: 0 auto 15px auto;
width: 760px;
padding: 5px 20px 20px 20px;
background: #ffffff;
}
#logo {
margin: 15px 0 0 0;
}
#logo h1 a {
color: #303030;
}
#logo h1 a:hover {
text-decoration: none;
}
#navitabs {
clear: both;
}
.navitab {
text-decoration: none;
letter-spacing: 1px;
background: #e0e0e0 url('images/corner.gif') no-repeat top right;
border-bottom: 1px solid #ffffff;
border-left: 1px solid #ffffff; margin-left:0; margin-right:0; margin-top:0; margin-bottom:4px; padding-left:8px; padding-right:8px; padding-top:4px; padding-bottom:4px
}
.navitab:hover {
text-decoration: none;
background: #d0d0d0 url('images/corner.gif') no-repeat top right;
}
.activenavitab {
color: #ffffff;
text-decoration: none;
background: #505050 url('images/corner.gif') no-repeat top right;; margin-left:0; margin-right:0; margin-top:0; margin-bottom:5px; padding-left:8px; padding-right:8px; padding-top:4px; padding-bottom:5px
}
.activenavitab:hover {
text-decoration: none;
}
#desc {
height: 200px;
color: #ffffff;
padding: 0;
background: #505050 url('images/front.jpg') no-repeat top left;
clear: both;
margin-left:0; margin-right:0; margin-top:5px; margin-bottom:0
}
#desc p {
width: 290px;
font-size: 1em;
line-height: 1.3em;
padding: 0 0 0 15px;
}
#desc h2 {
padding: 15px 15px 0 15px;
color: #ffffff;
}
#desc a {
color: #ffffff;
text-decoration: underline;
}
#main {
width: 590px;
float: left;
padding: 0 15px 0 0;
border-right: 1px solid #d0d0d0;
}
.block {
background: #f0f0f0;
padding: 15px;
}
#sidebar {
width:140px;
float:right;
}
#sidebar p {
font-size: 0.9em;
line-height: 1.3em;
margin: 0 0 12px 0;
}
.sidelink {
text-align: left;
display: block;
width: 120px;
background: #f0f0f0 url('images/corner.gif') no-repeat top right;
margin-left:0; margin-right:10px; margin-top:5px; margin-bottom:5px; padding-left:8px; padding-right:4px; padding-top:3px; padding-bottom:3px
}
.sidelink:hover {
background: #e0e0e0 url('images/corner.gif') no-repeat top right;
text-decoration: none
}
#footer {
clear: both;
background: #fafafa;
color: #808080;
font-size: 0.9em;
padding: 8px 0 8px 0;
border-top: 1px solid #d0d0d0;
border-bottom: 1px solid #d0d0d0;
text-align: center;
}
#footer a {
color: #808080;
}
h1 {
margin: 0 0 20px 0;
font-size: 2.1em;
font-weight: normal;
}
h2 {
margin: 0 0 20px 0;
font-size: 1.6em;
font-weight: normal;
}
h3 {
margin: 20px 0 10px 0;
font-size: 1.4em;
font-weight: normal;
}
p {
margin: 0 0 15px 0;
line-height: 1.5em;
text-align: left;
}
.right {
text-align: right;
}
a img {
border: 0px none;
}
.photo {
padding: 5px;
display: block;
margin: 0 auto 15px auto;
background-color: #f0f0f0;
}
.hide {
display: none;
}
The index.html is here:
andreas02
Site Network:
Personal |
My Company |
Artist projects |
Shop
andreas02
Site menu:
Welcome |
Bio |
Discography |
Downloads |
Photos |
Tour |
Merchandise |
Interviews
Welcome to andreas02!
This is my second design made for OSWD.org, and this time it is a 2-column layout featuring two versions of my own CSS tab menu. The design is made with XHTML and CSS, and it has no tables. To give some suggestions on how the design can be used, I have filled it with some example content.
Read more...
The idea behind the design:
I run several websites on different domains, and they are all connected in various ways. One website is my personal site, and it has a lot of links to my company website, which shares a lot of content with my studio and artist websites. Despite this, all the sites have different designs and different functionality - and it is all one big mess to keep track of it all. Are you familiar with the situation? Then read on!
When it was time to redesign one of the sites, I got an idea about making a standard design that all of my sites could use and make some kind of official link network between the sites. My way of doing this turned out to be the use of toptabs (for selecting a website) and navitabs (for selecting subsections within the different sites). With a basic PHP template, all sites can have the same design and share the same toptabs - but they can have their own separate content. The final touch to it would be to give each site a color scheme of its own. The personal site has blue colors, the company site is green, the artist site is red and so on.
Please note: As with all designs I publish on my page at OSWD.org, I have not aimed at making any kind of trendy or shiny design. I prefer to keep it clean and simple, and let others add the details that will make the design special and unique. However, the design has some useful built-in features, such as a print CSS and full functionality when degrading to no-CSS mode. You can use the design as it is, but I recommend that you play around with it. Add things, remove things, let your creativity flow!
An open source design!
If you like this layout and would like to use it in any way, you are free to do so. This is an open source web design, and all I ask for is that you leave the "Design by Andreas Viklund" link in the footer of the site. If you would like to remove that line, or if you would like professional help with anything related to this layout (such as custom design, branding, scripting or programming), please contact me through OSWD.org or through my website for more information.
Version: 1.0 (July 27, 2005)
More information:
Do you want more information about this design (and other designs I have released)? Then you should check out these pages:
My website |
My OSWD.org page |
Valid XHTML |
Valid CSS
Random image:
Wise words:
"It happens every day: information overload! Time for a reboot..."
(traditional haiku poem)
I found a style sheet and template on the web that I really like. He includes a screen CSS, a print CSS, an index.html, and an images folder.
I can't seem to figure out how to replicate his look using CMS made simple. I added the CSS but what do I use for the Template itself?
Does anything need to be modified to make it work with CMS made simple? I guess I'm just really lost on this templates/CSS thing, even after reading the documentation.
The style sheet is here:
Version: 1.0
(July 27, 2005)
Screen layout: */
body {
padding: 0;
margin: 0;
font: 76% tahoma, verdana, sans-serif;
background: #e0e0e0;
color: #303030;
}
a {
text-decoration: none;
color: #286ea0;
}
a:hover {
text-decoration: underline;
}
#toptabs {
margin: 10px auto -13px auto;
font-size: 0.8em;
width: 760px;
}
#toptabs p {
text-align: right;
color: #808080;
}
.toptab {
text-decoration: none;
background: #f0f0f0 url('images/corner2.gif') no-repeat top right;
color: #808080;
border-bottom: 1px solid #e0e0e0; margin-left:4px; margin-right:0; margin-top:0; margin-bottom:0; padding-left:5px; padding-right:5px; padding-top:3px; padding-bottom:3px
}
.toptab:hover {
background: #fafafa url('images/corner2.gif') no-repeat top right;
border-bottom: 1px solid #eaeaea;
color: #505050;
text-decoration: none
}
.activetoptab {
color: #505050;
text-decoration: none;
background: #ffffff url('images/corner2.gif') no-repeat top right;
border-bottom: 1px solid #ffffff; margin-left:4px; margin-right:0; margin-top:0; margin-bottom:0; padding-left:5px; padding-right:5px; padding-top:3px; padding-bottom:3px
}
.activetoptab:hover {
text-decoration: none;
}
#container {
margin: 0 auto 15px auto;
width: 760px;
padding: 5px 20px 20px 20px;
background: #ffffff;
}
#logo {
margin: 15px 0 0 0;
}
#logo h1 a {
color: #303030;
}
#logo h1 a:hover {
text-decoration: none;
}
#navitabs {
clear: both;
}
.navitab {
text-decoration: none;
letter-spacing: 1px;
background: #e0e0e0 url('images/corner.gif') no-repeat top right;
border-bottom: 1px solid #ffffff;
border-left: 1px solid #ffffff; margin-left:0; margin-right:0; margin-top:0; margin-bottom:4px; padding-left:8px; padding-right:8px; padding-top:4px; padding-bottom:4px
}
.navitab:hover {
text-decoration: none;
background: #d0d0d0 url('images/corner.gif') no-repeat top right;
}
.activenavitab {
color: #ffffff;
text-decoration: none;
background: #505050 url('images/corner.gif') no-repeat top right;; margin-left:0; margin-right:0; margin-top:0; margin-bottom:5px; padding-left:8px; padding-right:8px; padding-top:4px; padding-bottom:5px
}
.activenavitab:hover {
text-decoration: none;
}
#desc {
height: 200px;
color: #ffffff;
padding: 0;
background: #505050 url('images/front.jpg') no-repeat top left;
clear: both;
margin-left:0; margin-right:0; margin-top:5px; margin-bottom:0
}
#desc p {
width: 290px;
font-size: 1em;
line-height: 1.3em;
padding: 0 0 0 15px;
}
#desc h2 {
padding: 15px 15px 0 15px;
color: #ffffff;
}
#desc a {
color: #ffffff;
text-decoration: underline;
}
#main {
width: 590px;
float: left;
padding: 0 15px 0 0;
border-right: 1px solid #d0d0d0;
}
.block {
background: #f0f0f0;
padding: 15px;
}
#sidebar {
width:140px;
float:right;
}
#sidebar p {
font-size: 0.9em;
line-height: 1.3em;
margin: 0 0 12px 0;
}
.sidelink {
text-align: left;
display: block;
width: 120px;
background: #f0f0f0 url('images/corner.gif') no-repeat top right;
margin-left:0; margin-right:10px; margin-top:5px; margin-bottom:5px; padding-left:8px; padding-right:4px; padding-top:3px; padding-bottom:3px
}
.sidelink:hover {
background: #e0e0e0 url('images/corner.gif') no-repeat top right;
text-decoration: none
}
#footer {
clear: both;
background: #fafafa;
color: #808080;
font-size: 0.9em;
padding: 8px 0 8px 0;
border-top: 1px solid #d0d0d0;
border-bottom: 1px solid #d0d0d0;
text-align: center;
}
#footer a {
color: #808080;
}
h1 {
margin: 0 0 20px 0;
font-size: 2.1em;
font-weight: normal;
}
h2 {
margin: 0 0 20px 0;
font-size: 1.6em;
font-weight: normal;
}
h3 {
margin: 20px 0 10px 0;
font-size: 1.4em;
font-weight: normal;
}
p {
margin: 0 0 15px 0;
line-height: 1.5em;
text-align: left;
}
.right {
text-align: right;
}
a img {
border: 0px none;
}
.photo {
padding: 5px;
display: block;
margin: 0 auto 15px auto;
background-color: #f0f0f0;
}
.hide {
display: none;
}
The index.html is here:
andreas02
Site Network:
Personal |
My Company |
Artist projects |
Shop
andreas02
Site menu:
Welcome |
Bio |
Discography |
Downloads |
Photos |
Tour |
Merchandise |
Interviews
Welcome to andreas02!
This is my second design made for OSWD.org, and this time it is a 2-column layout featuring two versions of my own CSS tab menu. The design is made with XHTML and CSS, and it has no tables. To give some suggestions on how the design can be used, I have filled it with some example content.
Read more...
The idea behind the design:
I run several websites on different domains, and they are all connected in various ways. One website is my personal site, and it has a lot of links to my company website, which shares a lot of content with my studio and artist websites. Despite this, all the sites have different designs and different functionality - and it is all one big mess to keep track of it all. Are you familiar with the situation? Then read on!
When it was time to redesign one of the sites, I got an idea about making a standard design that all of my sites could use and make some kind of official link network between the sites. My way of doing this turned out to be the use of toptabs (for selecting a website) and navitabs (for selecting subsections within the different sites). With a basic PHP template, all sites can have the same design and share the same toptabs - but they can have their own separate content. The final touch to it would be to give each site a color scheme of its own. The personal site has blue colors, the company site is green, the artist site is red and so on.
Please note: As with all designs I publish on my page at OSWD.org, I have not aimed at making any kind of trendy or shiny design. I prefer to keep it clean and simple, and let others add the details that will make the design special and unique. However, the design has some useful built-in features, such as a print CSS and full functionality when degrading to no-CSS mode. You can use the design as it is, but I recommend that you play around with it. Add things, remove things, let your creativity flow!
An open source design!
If you like this layout and would like to use it in any way, you are free to do so. This is an open source web design, and all I ask for is that you leave the "Design by Andreas Viklund" link in the footer of the site. If you would like to remove that line, or if you would like professional help with anything related to this layout (such as custom design, branding, scripting or programming), please contact me through OSWD.org or through my website for more information.
Version: 1.0 (July 27, 2005)
More information:
Do you want more information about this design (and other designs I have released)? Then you should check out these pages:
My website |
My OSWD.org page |
Valid XHTML |
Valid CSS
Random image:
Wise words:
"It happens every day: information overload! Time for a reboot..."
(traditional haiku poem)