Team:UT Dallas/css
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
/* Header formatting */ | /* Header formatting */ | ||
- | h1, h2, h3, h4, h5 { font-family: "Trebuchet MS", sans-serif; padding:10px; } | + | h1,h2,h3,h4,h5 { |
- | h2, h2 a, h2 a:visited { background: #444; color: #AAA; } | + | font-family: "Trebuchet MS", sans-serif; |
- | h3, h3 a, h3 a:visited { color: #444; text-decoration: bold;} | + | padding: 10px; |
+ | } | ||
+ | |||
+ | h2,h2 a,h2 a:visited { | ||
+ | background: #444; | ||
+ | color: #AAA; | ||
+ | } | ||
+ | |||
+ | h3,h3 a,h3 a:visited { | ||
+ | color: #444; | ||
+ | text-decoration: bold; | ||
+ | } | ||
/* Full page formatting */ | /* Full page formatting */ | ||
#content { | #content { | ||
- | padding: | + | padding: 0; |
- | width:1024px; | + | width: 1024px; |
- | margin: 15px auto | + | margin: 15px auto; |
- | background: none repeat scroll 0 0 transparent; | + | background: none repeat scroll 0 0 transparent; |
- | border: | + | border: 0; |
+ | } | ||
+ | |||
+ | #back { | ||
+ | background-color: #C2E0C2; | ||
+ | } | ||
+ | |||
+ | /*FORMATS THE BACKGROUND FOR ALL PAGES*/ | ||
+ | #top-section { | ||
+ | position: relative; | ||
+ | height: 20px; | ||
+ | width: 975px; | ||
+ | } | ||
+ | |||
+ | #contentSub,#search-controls,.firstHeading,#catlinks,#p-logo { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #container { | ||
+ | margin: 15px 0 auto auto; | ||
+ | width: 975px; | ||
+ | } | ||
+ | |||
+ | #globalwrapper { | ||
+ | margin: 0 0 auto auto; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
/* Title panel formatting */ | /* Title panel formatting */ | ||
- | #top-panel { height: 260px; background-color: | + | #top-panel { |
- | #top-panel { margin: -20px -10px auto | + | height: 260px; |
- | #trans { text-align: right; color: #555; letter-spacing: 1.3px; } | + | background-color: #FFF; |
- | #sa { line-height: 100%; font-family: "Trebuchet MS", sans-serif; font-size: 36px; } | + | background-image: url(https://static.igem.org/mediawiki/2013/d/dd/Nserl2.png); |
- | #sa { color: #008ACF; padding-top: 55px; letter-spacing: 1.3px; text-align: right; } | + | } |
+ | |||
+ | /*FORMATS HEADER BACKGROUND*/ | ||
+ | #top-panel { | ||
+ | margin: -20px -10px auto; | ||
+ | border-radius: 5px 5px 0 0; | ||
+ | box-shadow: 0 -2px 6px 2px #222; | ||
+ | } | ||
+ | |||
+ | #trans { | ||
+ | text-align: right; | ||
+ | color: #555; | ||
+ | letter-spacing: 1.3px; | ||
+ | } | ||
+ | |||
+ | #sa { | ||
+ | line-height: 100%; | ||
+ | font-family: "Trebuchet MS", sans-serif; | ||
+ | font-size: 36px; | ||
+ | } | ||
+ | |||
+ | #sa { | ||
+ | color: #008ACF; | ||
+ | padding-top: 55px; | ||
+ | letter-spacing: 1.3px; | ||
+ | text-align: right; | ||
+ | } | ||
/* Border above main menu formatting */ | /* Border above main menu formatting */ | ||
- | #border-top { background-color: #6c6c6c; height: 6px; width: 995px; margin: | + | #border-top { |
+ | background-color: #6c6c6c; | ||
+ | height: 6px; | ||
+ | width: 995px; | ||
+ | margin: 0 -10px; | ||
+ | } | ||
/* Main menu formatting */ | /* Main menu formatting */ | ||
- | #nav { font-family: "Trebuchet MS", sans-serif; font-size: 15px; color: | + | #nav { |
- | #nav { background-color: # | + | font-family: "Trebuchet MS", sans-serif; |
- | #nav { float: left; margin: | + | font-size: 15px; |
- | #nav li { float: left; margin: | + | color: #FFF; |
- | #nav a { display: block; padding: 5px 15px; text-decoration: none; color: | + | } |
- | #nav a:hover { color: # | + | |
+ | #nav { | ||
+ | background-color: #393; | ||
+ | width: 1025px; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | #nav { | ||
+ | float: left; | ||
+ | margin: 0 0 auto -25px; | ||
+ | z-index: 5; | ||
+ | } | ||
+ | |||
+ | #nav li { | ||
+ | float: left; | ||
+ | margin: 0 20px 0 -5px; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #nav a { | ||
+ | display: block; | ||
+ | padding: 5px 15px; | ||
+ | text-decoration: none; | ||
+ | color: #FFF; | ||
+ | border-style: none; | ||
+ | } | ||
+ | |||
+ | #nav a:hover { | ||
+ | color: #000; | ||
+ | } | ||
/* General content formatting */ | /* General content formatting */ | ||
- | #content { position: relative; width: 975px; padding: | + | #content { |
- | #content { border-radius: | + | position: relative; |
+ | width: 975px; | ||
+ | padding: 0 10px 10px; | ||
+ | align: center; | ||
+ | } | ||
+ | |||
+ | #content { | ||
+ | border-radius: 0 0 5px 5px; | ||
+ | box-shadow: 0 2px 6px 3px #222; | ||
+ | z-index: 2; | ||
+ | } | ||
/* Main page abstract panel formatting */ | /* Main page abstract panel formatting */ | ||
- | #bottom-panel { background-color: #fff; width: 995px; height: 470px; margin: 33px 20px | + | #bottom-panel { |
- | #bottom-panel { border-radius: | + | background-color: #fff; |
- | #abs-title { font-size: 30px; font-family: "Trebuchet MS", sans-serif; color: #6c6c6c; } | + | width: 995px; |
- | #abs-title { float: left; margin: 20px auto | + | height: 470px; |
- | #abs-title a:link, #abs-title a:visited { float: left; font-weight: | + | margin: 33px 20px 0 -10px; |
- | #abs-title a:link, #abs-title a:visited { text-decoration: none; color: #888; } | + | } |
- | #abs-title a:hover { color: #A32C2C; } | + | |
- | #abs-text { font-size: 13px; font-family: "Trebuchet MS", sans-serif; color: #333; } | + | #bottom-panel { |
- | #abs-text { text-align: left; line-height: 180%; margin: 20px | + | border-radius: 0 0 5px 5px; |
+ | box-shadow: 0 2px 6px 2px #222; | ||
+ | } | ||
+ | |||
+ | #abs-title { | ||
+ | font-size: 30px; | ||
+ | font-family: "Trebuchet MS", sans-serif; | ||
+ | color: #6c6c6c; | ||
+ | } | ||
+ | |||
+ | #abs-title { | ||
+ | float: left; | ||
+ | margin: 20px auto 0 40px; | ||
+ | } | ||
+ | |||
+ | #abs-title a:link,#abs-title a:visited { | ||
+ | float: left; | ||
+ | font-weight: 700; | ||
+ | } | ||
+ | |||
+ | #abs-title a:link,#abs-title a:visited { | ||
+ | text-decoration: none; | ||
+ | color: #888; | ||
+ | } | ||
+ | |||
+ | #abs-title a:hover { | ||
+ | color: #A32C2C; | ||
+ | } | ||
+ | |||
+ | #abs-text { | ||
+ | font-size: 13px; | ||
+ | font-family: "Trebuchet MS", sans-serif; | ||
+ | color: #333; | ||
+ | } | ||
+ | |||
+ | #abs-text { | ||
+ | text-align: left; | ||
+ | line-height: 180%; | ||
+ | margin: 20px 0 auto 40px; | ||
+ | } | ||
/* Main page sub box formatting */ | /* Main page sub box formatting */ | ||
- | .subbox { font-size: 18px; font-family: "Trebuchet MS", sans-serif; color: # | + | .subbox { |
- | .subbox { width: 320px; margin: | + | font-size: 18px; |
- | .subbox { border-radius: 5px; border: 1px solid #aaa; box-shadow: | + | font-family: "Trebuchet MS", sans-serif; |
+ | color: #f60; | ||
+ | } | ||
+ | |||
+ | .subbox { | ||
+ | width: 320px; | ||
+ | margin: 0 0 10px 30px; | ||
+ | background: #fff; | ||
+ | } | ||
+ | |||
+ | .subbox { | ||
+ | border-radius: 5px; | ||
+ | border: 1px solid #aaa; | ||
+ | box-shadow: 0 1px 2px 1px #f60; | ||
+ | } | ||
/* Main page project panel formatting */ | /* Main page project panel formatting */ | ||
- | #proj-panel { background-color: #fff; height: 440px; width: 995px; margin: 15px 20px 15px -10px; } | + | #proj-panel { |
- | #proj-panel { border-radius: 5px 5px 5px 5px; box-shadow: | + | background-color: #fff; |
- | .feature { font-size: 18px; font-family: "Trebuchet MS", sans-serif; margin: 20px | + | height: 440px; |
- | .feature { color: #008ACF; background: #fff; width: 285px; height: 300px; border-style: none; } | + | width: 995px; |
- | .brief { font-size: 13px; font-family: sans-serif; color: #333; } | + | margin: 15px 20px 15px -10px; |
- | .brief { margin: 10px 10px | + | } |
+ | |||
+ | #proj-panel { | ||
+ | border-radius: 5px 5px 5px 5px; | ||
+ | box-shadow: 0 2px 6px 2px #222; | ||
+ | } | ||
+ | |||
+ | .feature { | ||
+ | font-size: 18px; | ||
+ | font-family: "Trebuchet MS", sans-serif; | ||
+ | margin: 20px 0 0 16px; | ||
+ | } | ||
+ | |||
+ | .feature { | ||
+ | color: #008ACF; | ||
+ | background: #fff; | ||
+ | width: 285px; | ||
+ | height: 300px; | ||
+ | border-style: none; | ||
+ | } | ||
+ | |||
+ | .brief { | ||
+ | font-size: 13px; | ||
+ | font-family: sans-serif; | ||
+ | color: #333; | ||
+ | } | ||
+ | |||
+ | .brief { | ||
+ | margin: 10px 10px 0 0; | ||
+ | text-align: left; | ||
+ | line-height: 180%; | ||
+ | } | ||
/* Footer box formatting */ | /* Footer box formatting */ | ||
- | #footer-box { border: | + | #footer-box { |
+ | border: 0; | ||
+ | width: 965px; | ||
+ | } |
Revision as of 20:05, 6 September 2013
/* Header formatting */ h1,h2,h3,h4,h5 {
font-family: "Trebuchet MS", sans-serif; padding: 10px;
}
h2,h2 a,h2 a:visited {
background: #444; color: #AAA;
}
h3,h3 a,h3 a:visited {
color: #444; text-decoration: bold;
}
/* Full page formatting */
- content {
padding: 0; width: 1024px; margin: 15px auto; background: none repeat scroll 0 0 transparent; border: 0;
}
- back {
background-color: #C2E0C2;
}
/*FORMATS THE BACKGROUND FOR ALL PAGES*/
- top-section {
position: relative; height: 20px; width: 975px;
}
- contentSub,#search-controls,.firstHeading,#catlinks,#p-logo {
display: none;
}
- container {
margin: 15px 0 auto auto; width: 975px;
}
- globalwrapper {
margin: 0 0 auto auto;
}
/* Title panel formatting */
- top-panel {
height: 260px; background-color: #FFF; background-image: url();
}
/*FORMATS HEADER BACKGROUND*/
- top-panel {
margin: -20px -10px auto; border-radius: 5px 5px 0 0; box-shadow: 0 -2px 6px 2px #222;
}
- trans {
text-align: right; color: #555; letter-spacing: 1.3px;
}
- sa {
line-height: 100%; font-family: "Trebuchet MS", sans-serif; font-size: 36px;
}
- sa {
color: #008ACF; padding-top: 55px; letter-spacing: 1.3px; text-align: right;
}
/* Border above main menu formatting */
- border-top {
background-color: #6c6c6c; height: 6px; width: 995px; margin: 0 -10px;
}
/* Main menu formatting */
- nav {
font-family: "Trebuchet MS", sans-serif; font-size: 15px; color: #FFF;
}
- nav {
background-color: #393; width: 1025px; list-style: none;
}
- nav {
float: left; margin: 0 0 auto -25px; z-index: 5;
}
- nav li {
float: left; margin: 0 20px 0 -5px; position: relative;
}
- nav a {
display: block; padding: 5px 15px; text-decoration: none; color: #FFF; border-style: none;
}
- nav a:hover {
color: #000;
}
/* General content formatting */
- content {
position: relative; width: 975px; padding: 0 10px 10px; align: center;
}
- content {
border-radius: 0 0 5px 5px; box-shadow: 0 2px 6px 3px #222; z-index: 2;
}
/* Main page abstract panel formatting */
- bottom-panel {
background-color: #fff; width: 995px; height: 470px; margin: 33px 20px 0 -10px;
}
- bottom-panel {
border-radius: 0 0 5px 5px; box-shadow: 0 2px 6px 2px #222;
}
- abs-title {
font-size: 30px; font-family: "Trebuchet MS", sans-serif; color: #6c6c6c;
}
- abs-title {
float: left; margin: 20px auto 0 40px;
}
- abs-title a:link,#abs-title a:visited {
float: left; font-weight: 700;
}
- abs-title a:link,#abs-title a:visited {
text-decoration: none; color: #888;
}
- abs-title a:hover {
color: #A32C2C;
}
- abs-text {
font-size: 13px; font-family: "Trebuchet MS", sans-serif; color: #333;
}
- abs-text {
text-align: left; line-height: 180%; margin: 20px 0 auto 40px;
}
/* Main page sub box formatting */ .subbox {
font-size: 18px; font-family: "Trebuchet MS", sans-serif; color: #f60;
}
.subbox {
width: 320px; margin: 0 0 10px 30px; background: #fff;
}
.subbox {
border-radius: 5px; border: 1px solid #aaa; box-shadow: 0 1px 2px 1px #f60;
}
/* Main page project panel formatting */
- proj-panel {
background-color: #fff; height: 440px; width: 995px; margin: 15px 20px 15px -10px;
}
- proj-panel {
border-radius: 5px 5px 5px 5px; box-shadow: 0 2px 6px 2px #222;
}
.feature {
font-size: 18px; font-family: "Trebuchet MS", sans-serif; margin: 20px 0 0 16px;
}
.feature {
color: #008ACF; background: #fff; width: 285px; height: 300px; border-style: none;
}
.brief {
font-size: 13px; font-family: sans-serif; color: #333;
}
.brief {
margin: 10px 10px 0 0; text-align: left; line-height: 180%;
}
/* Footer box formatting */
- footer-box {
border: 0; width: 965px;
}