Template:Team:Waterloo/CSS/baseWiki
From 2014.igem.org
(Difference between revisions)
(img equation class) |
|||
(25 intermediate revisions not shown) | |||
Line 42: | Line 42: | ||
a{ | a{ | ||
text-decoration: none; | text-decoration: none; | ||
- | color: # | + | color: #002bb8; |
} | } | ||
li{ | li{ | ||
list-style: none; | list-style: none; | ||
line-height: 18px; | line-height: 18px; | ||
+ | } | ||
+ | ol li{ | ||
+ | list-style:decimal; | ||
} | } | ||
table { | table { | ||
Line 55: | Line 58: | ||
font-size: 54px; | font-size: 54px; | ||
font-weight: bold; | font-weight: bold; | ||
- | |||
text-align: center; | text-align: center; | ||
margin: 20px 0px 0px 0px !important; | margin: 20px 0px 0px 0px !important; | ||
Line 77: | Line 79: | ||
/*Specific class or id elements*/ | /*Specific class or id elements*/ | ||
.content { | .content { | ||
- | width: | + | width:65%; |
background: #F0F0F0; | background: #F0F0F0; | ||
margin: auto; | margin: auto; | ||
Line 90: | Line 92: | ||
float: left; | float: left; | ||
} | } | ||
+ | /* Images */ | ||
div.imgBox{ | div.imgBox{ | ||
height: 500px; | height: 500px; | ||
Line 97: | Line 100: | ||
margin-top: 30px; | margin-top: 30px; | ||
background: #FFFFFF; | background: #FFFFFF; | ||
+ | } | ||
+ | div.figureContainer { | ||
+ | text-align: center; | ||
+ | font-style: italic; | ||
+ | font-size: 0.8em; | ||
} | } | ||
img { | img { | ||
Line 104: | Line 112: | ||
width: 200px; | width: 200px; | ||
padding: 0px 8px; | padding: 0px 8px; | ||
+ | } | ||
+ | img.smallIcon{ | ||
+ | width: 100px; | ||
+ | padding: 0px 8px; | ||
+ | } | ||
+ | img.image70{ | ||
+ | width: 70%; | ||
} | } | ||
img.equation { | img.equation { | ||
- | |||
width: 70%; | width: 70%; | ||
} | } | ||
Line 157: | Line 171: | ||
/*Tabs*/ | /*Tabs*/ | ||
- | .anchor{ | + | .anchor { |
- | padding-bottom: 50px; | + | /* when hyperlinking within page, to account for floating bar */ |
+ | padding-top: 80px; | ||
+ | margin-bottom: -30px; | ||
+ | /* adjusted net 50px bottom padding? */ | ||
+ | text-align: justify; | ||
+ | } | ||
+ | .anchor:first-child { | ||
+ | padding-top: 0px; | ||
} | } | ||
ul.tabs | ul.tabs | ||
Line 209: | Line 230: | ||
{ | { | ||
text-decoration: none; | text-decoration: none; | ||
- | |||
background: #9EE0F3; | background: #9EE0F3; | ||
} | } | ||
Line 217: | Line 237: | ||
position: relative; | position: relative; | ||
top: 0px; | top: 0px; | ||
- | |||
background: #71CCE6; | background: #71CCE6; | ||
color: dimgrey; | color: dimgrey; | ||
Line 273: | Line 292: | ||
position: absolute; | position: absolute; | ||
margin-left: 35%; | margin-left: 35%; | ||
- | margin-top: - | + | margin-top: -177px; |
} | } | ||
Line 279: | Line 298: | ||
position: absolute; | position: absolute; | ||
margin-left: 55%; | margin-left: 55%; | ||
- | margin-top: - | + | margin-top: -177px; |
} | } | ||
Line 285: | Line 304: | ||
position: absolute; | position: absolute; | ||
margin-left: 75%; | margin-left: 75%; | ||
- | margin-top: - | + | margin-top: -177px; |
} | } | ||
Line 317: | Line 336: | ||
width: 46%; | width: 46%; | ||
padding: 2%; | padding: 2%; | ||
+ | } | ||
+ | .blueOnGrey { | ||
+ | background: #333; | ||
+ | padding: 15px; | ||
+ | color:#71CCE6; | ||
+ | } | ||
+ | .blueOnGrey h1, .blueOnGrey h2, .blueOnGrey h3, .blueOnGrey h4 { | ||
+ | color:#71CCE6; | ||
} | } | ||
.centerUpper { | .centerUpper { | ||
Line 323: | Line 350: | ||
} | } | ||
/* Lists on mathbook page */ | /* Lists on mathbook page */ | ||
- | #MathBook ul li { | + | #MathBook ul li, #Acknowledgements ul li { |
list-style-type: circle; | list-style-type: circle; | ||
} | } | ||
- | #MathBook ol li { | + | #MathBook ol li, #Acknowledgements ol li { |
list-style-type: upper-roman; | list-style-type: upper-roman; | ||
} | } | ||
Line 346: | Line 373: | ||
/* Special Styles Depending on Screen Size */ | /* Special Styles Depending on Screen Size */ | ||
- | @media screen and ( | + | @media screen and (max-width: 900px) { /* above tablet size */ |
+ | .content { | ||
+ | width: 70%; | ||
+ | } | ||
+ | .half-column { | ||
+ | width: 100%; | ||
+ | padding: 5px; | ||
+ | float: none; | ||
+ | } | ||
} | } | ||
@media screen and (max-width: 768px) { /* tablet size and below */ | @media screen and (max-width: 768px) { /* tablet size and below */ | ||
Line 357: | Line 392: | ||
} | } | ||
@media screen and (max-width: 768px) and (min-width: 480px) { /* tablet size only */ | @media screen and (max-width: 768px) and (min-width: 480px) { /* tablet size only */ | ||
+ | .content { | ||
+ | width: 80%; | ||
+ | } | ||
} | } | ||
@media screen and (max-width : 480px) { */ smartphones */ | @media screen and (max-width : 480px) { */ smartphones */ | ||
Line 362: | Line 400: | ||
font-size: 30px; | font-size: 30px; | ||
} | } | ||
- | . | + | .content { |
width: 100%; | width: 100%; | ||
- | |||
} | } | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 03:27, 18 October 2014