Team:USTC-China/assets/css/page.css
From 2014.igem.org
(Difference between revisions)
(8 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
/* Main Layout */ | /* Main Layout */ | ||
- | |||
#main { | #main { | ||
max-width: 100%; | max-width: 100%; | ||
Line 8: | Line 7: | ||
padding-top: 30px; | padding-top: 30px; | ||
} | } | ||
- | |||
- | |||
.title h1 { | .title h1 { | ||
color: #333333; | color: #333333; | ||
font-size: 64px; | font-size: 64px; | ||
+ | margin-bottom: 30px!important; | ||
} | } | ||
- | .text | + | .active-a { |
+ | background: rgba(0,0,0,0.025); | ||
+ | } | ||
+ | |||
+ | .text { | ||
font-size: 20px; | font-size: 20px; | ||
color: #333333; | color: #333333; | ||
Line 26: | Line 28: | ||
@media (max-width: 1050px){ | @media (max-width: 1050px){ | ||
- | |||
- | |||
- | |||
- | |||
.title h1 { | .title h1 { | ||
font-size: 50px; | font-size: 50px; | ||
Line 38: | Line 36: | ||
z-index: 100; | z-index: 100; | ||
} | } | ||
- | |||
.accordion-navigation a:hover { | .accordion-navigation a:hover { | ||
Line 60: | Line 57: | ||
font-size: 1.8rem; | font-size: 1.8rem; | ||
} | } | ||
+ | |||
.text { | .text { | ||
- | padding-left: | + | padding-left: 0px; |
padding-right: 80px; | padding-right: 80px; | ||
padding-bottom: 50px; | padding-bottom: 50px; | ||
+ | margin-bottom: 50px; | ||
+ | |||
} | } | ||
Line 73: | Line 73: | ||
line-height: 1.65em; | line-height: 1.65em; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
@media (min-width: 800px){ | @media (min-width: 800px){ | ||
Line 105: | Line 100: | ||
.text h1, h2 { | .text h1, h2 { | ||
+ | color: rgb(41, 100, 34); | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
+ | padding-top: 50px; | ||
border-bottom-style: ridge; | border-bottom-style: ridge; | ||
border-bottom-color: white; | border-bottom-color: white; | ||
Line 114: | Line 111: | ||
.small-block-grid-5 li img{ | .small-block-grid-5 li img{ | ||
opacity: 0.7; | opacity: 0.7; | ||
+ | margin-bottom: 0!important; | ||
} | } | ||
Line 119: | Line 117: | ||
opacity:1.0; | opacity:1.0; | ||
} | } | ||
+ | |||
.small-block-grid-5 li { | .small-block-grid-5 li { | ||
padding: 0 0 0 0; | padding: 0 0 0 0; | ||
} | } | ||
- | . | + | .no-bullet { |
- | + | padding-top: 15px | |
} | } | ||
- | |||
.no-bullet li { | .no-bullet li { | ||
Line 142: | Line 140: | ||
padding-right: 5px; | padding-right: 5px; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
+ | } | ||
+ | .accordion-navigation { | ||
+ | width: 240px; | ||
} | } | ||
- | . | + | |
- | padding- | + | @media (max-width: 1050px){ |
+ | .side-nav { | ||
+ | position: relative!important; | ||
+ | } | ||
+ | |||
+ | .accordion-navigation { | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .text { | ||
+ | padding-right: 0; | ||
+ | padding-left: 0; | ||
+ | } | ||
} | } | ||
+ | .small-block-grid-5 li img{ | ||
+ | width:100%; | ||
+ | } | ||
- | + | figcaption { | |
- | + | font-size: small; | |
+ | line-height: 20px; | ||
} | } | ||
- | . | + | |
- | + | .text img { | |
+ | margin-bottom: 20px; | ||
} | } |
Latest revision as of 00:23, 18 October 2014
/* Main Layout */
- main {
max-width: 100%; padding-left: 3%; padding-right: 5%; background-color: white; padding-top: 30px;
}
.title h1 {
color: #333333; font-size: 64px; margin-bottom: 30px!important;
}
.active-a {
background: rgba(0,0,0,0.025);
}
.text {
font-size: 20px; color: #333333; font-family: 'Noto serif', 'serif'; text-align: justify;
}
/* Responsive */
@media (max-width: 1050px){
.title h1 { font-size: 50px; }
}
- topcontrol {
z-index: 100;
}
.accordion-navigation a:hover {
text-decoration: none;
}
- bodyContent h3, #bodyContent h4, #bodyContent h5 {
margin-bottom: 15px; margin-top: 50px;
}
.text ul, ol, dl {
line-height: 2.3rem; font-size: 20px; font-family: sans-serif; margin-top: 10px; margin-left: 0;
}
h3 {
font-size: 1.8rem;
}
.text {
padding-left: 0px; padding-right: 80px; padding-bottom: 50px; margin-bottom: 50px;
}
.text p {
font-size: 0.9em; color: #333333; font-family: 'Noto serif', 'serif'; line-height: 1.65em;
}
@media (min-width: 800px){
.title { padding-left: 50px; padding-right: 0; margin-bottom: 30px!important; }
.text { padding-left: 50px; padding-right: 0; padding-bottom: 50px; }
}
- side-navbar {
padding-left: 30px;
}
.ustc-banner {
width: 100%; margin-top: 25px; padding-left: 5%; padding-right: 5%;
}
.text h1, h2 {
color: rgb(41, 100, 34); margin-bottom: 5px; padding-top: 50px; border-bottom-style: ridge; border-bottom-color: white; border-bottom-width: 3px; padding-bottom: 12px;
}
.small-block-grid-5 li img{
opacity: 0.7; margin-bottom: 0!important;
}
.small-block-grid-5 li img:hover{
opacity:1.0;
}
.small-block-grid-5 li {
padding: 0 0 0 0;
}
.no-bullet {
padding-top: 15px
}
.no-bullet li {
font-family: 'Noto serif'; font-size: 15px; line-height: 25px;
}
.list-item {
font-family: 'Open Sans'; background-color: rgb(65, 186, 93); color: white; margin-right: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 2px;
}
.accordion-navigation { width: 240px; }
@media (max-width: 1050px){
.side-nav { position: relative!important; }
.accordion-navigation { width: 100%; }
.text { padding-right: 0; padding-left: 0; }
}
.small-block-grid-5 li img{
width:100%;
}
figcaption {
font-size: small; line-height: 20px;
}
.text img {
margin-bottom: 20px;
}