Difference between revisions of "Team:Dundee/style.css"
(27 intermediate revisions by 2 users not shown) | |||
Line 44: | Line 44: | ||
h1, h2, h3, h4 { | h1, h2, h3, h4 { | ||
border: none; | border: none; | ||
− | color: # | + | color: #d6d6d6; |
+ | } | ||
+ | |||
+ | #bodyContent h1, #bodyContent h2 { | ||
+ | margin-bottom: 0; | ||
} | } | ||
Line 92: | Line 96: | ||
html, body, div, h1, h2, h3, h4, span, .btn { | html, body, div, h1, h2, h3, h4, span, .btn { | ||
font-family: 'roboto'; | font-family: 'roboto'; | ||
− | + | line-height: 1.75; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
html, body { | html, body { | ||
− | |||
− | |||
margin: auto; | margin: auto; | ||
padding: 0px; | padding: 0px; | ||
+ | color: #d6d6d6; | ||
} | } | ||
p { | p { | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
.container { | .container { | ||
− | padding-right: | + | padding-right: 15px; /*15px in bootstrap.css*/ |
− | padding-left: | + | padding-left: 15px; /*idem*/ |
margin-right: auto; | margin-right: auto; | ||
margin-left: auto; | margin-left: auto; | ||
Line 126: | Line 125: | ||
font-family: 'cambria'; | font-family: 'cambria'; | ||
font-size: 16px; | font-size: 16px; | ||
− | + | ||
} | } | ||
Line 133: | Line 132: | ||
} | } | ||
− | h3 { | + | header > h3 { |
color:#FFF; | color:#FFF; | ||
font-size: 25px; | font-size: 25px; | ||
Line 140: | Line 139: | ||
@font-face { | @font-face { | ||
font-family: typewriter; | font-family: typewriter; | ||
− | src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf); | + | src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf) format('truetype'); |
} | } | ||
+ | |||
+ | |||
@font-face { | @font-face { | ||
font-family: roboto; | font-family: roboto; | ||
− | src: url(../fonts/RobotoSlab- | + | src: url(../fonts/RobotoSlab-Light.ttf) format('truetype'); |
} | } | ||
Line 151: | Line 152: | ||
font-family: 'FontAwesome'; | font-family: 'FontAwesome'; | ||
src: url('https://static.igem.org/mediawiki/2015/6/60/Dundee15-fafont.ttf') format('truetype'); | src: url('https://static.igem.org/mediawiki/2015/6/60/Dundee15-fafont.ttf') format('truetype'); | ||
− | + | ||
− | + | ||
} | } | ||
Line 158: | Line 158: | ||
/* HEADER */ | /* HEADER */ | ||
header { | header { | ||
− | background:url(../img/newbg1.png) no-repeat; | + | background:url(<!--Put image source in ""-->../img/newbg1.png) no-repeat; |
height:700px; | height:700px; | ||
width: 100%; | width: 100%; | ||
Line 164: | Line 164: | ||
padding-top:50px; | padding-top:50px; | ||
color: #fff; | color: #fff; | ||
− | background-position: center; | + | background-position: center center; |
-webkit-mask-image: -webkit-gradient(linear, left 80%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0))); | -webkit-mask-image: -webkit-gradient(linear, left 80%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0))); | ||
− | + | -webkit-background-size: cover; | |
+ | -moz-background-size: cover; | ||
+ | background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-attachment: scroll; | ||
} | } | ||
header h1 { | header h1 { | ||
Line 180: | Line 184: | ||
padding-left:10px; | padding-left:10px; | ||
padding-right:10px; | padding-right:10px; | ||
+ | line-height: | ||
} | } | ||
.highlight { | .highlight { | ||
font-family: typewriter; | font-family: typewriter; | ||
+ | } | ||
+ | |||
+ | @media (max-width: 450px) { | ||
+ | header h1 { | ||
+ | line-height: 1.8; | ||
+ | } | ||
+ | header h3 { | ||
+ | line-height: 1.8; | ||
+ | } | ||
} | } | ||
Line 188: | Line 202: | ||
/* END OF HEADER */ | /* END OF HEADER */ | ||
+ | /** NAVBAR **/ | ||
+ | .dropdown-header { | ||
+ | font-size: 16px; | ||
+ | font-weight: 900; | ||
+ | color: #c1c1c1; | ||
+ | } | ||
+ | |||
+ | .dropdown:active { | ||
+ | background-color: none; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu>li>a { | ||
+ | font-weight: bold; | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu>li>a:hover { | ||
+ | background-color: #339966; | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | .igem-navbar { | ||
+ | padding-top: 5px; | ||
+ | } | ||
+ | |||
+ | .navbar-logo { | ||
+ | float:left; | ||
+ | padding-top: 12px; | ||
+ | } | ||
+ | |||
+ | @media (max-width: 767px) { | ||
+ | .navbar-logo { | ||
+ | display:none; | ||
+ | } | ||
+ | .igem-navbar { | ||
+ | display: none; | ||
+ | } | ||
+ | } | ||
+ | #nav.affix { | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | width: 100%; | ||
+ | z-index:10; | ||
+ | } | ||
+ | /** END OF NAVBAR **/ | ||
Line 302: | Line 361: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | + | ||
− | + | /** FOOTER AND SPONSORS **/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
footer { | footer { | ||
background: #333333; | background: #333333; | ||
Line 328: | Line 372: | ||
font-weight: 100; | font-weight: 100; | ||
width: 100%; | width: 100%; | ||
− | |||
− | |||
− | |||
} | } | ||
Line 341: | Line 382: | ||
} | } | ||
} | } | ||
− | + | #sponsor { | |
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
text-align: center; | text-align: center; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
} | } | ||
+ | #sponsor-logo { | ||
+ | padding-top: 50px; | ||
+ | height:auto; | ||
+ | width:60%; | ||
+ | } | ||
+ | @media (max-width: 992px) { | ||
+ | #sponsor-logo { | ||
+ | padding-top: 15px; | ||
+ | height:auto; | ||
+ | width:200px; | ||
+ | } | ||
+ | .igem-navbar { | ||
+ | display:none; | ||
+ | } | ||
+ | .navbar-logo { | ||
+ | display: none; | ||
+ | } | ||
+ | .navbar-brand { | ||
+ | display:none; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /** END OF FOOTER AND SPONSORS **/ | ||
+ | |||
+ | |||
@media only screen and (max-width: 480px) { | @media only screen and (max-width: 480px) { | ||
.btn-lg { | .btn-lg { | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
− | + | margin-right: auto; | |
+ | margin-left: auto; | ||
+ | } | ||
#about .row .col-md-3 { | #about .row .col-md-3 { | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
Line 370: | Line 435: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#page-wrap { | #page-wrap { | ||
Line 401: | Line 461: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/** BUTTON NAVIGATION ANCHORS. PREVENTS OVERLAP OF NAVBAR ON TOP OF CONTENT **/ | /** BUTTON NAVIGATION ANCHORS. PREVENTS OVERLAP OF NAVBAR ON TOP OF CONTENT **/ | ||
Line 445: | Line 487: | ||
line-height: 1; | line-height: 1; | ||
-moz-osx-font-smoothing: grayscale; | -moz-osx-font-smoothing: grayscale; | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | /** LABJOURNAL STYLES **/ | |
@media only screen and (max-width: 768px) { | @media only screen and (max-width: 768px) { | ||
Line 467: | Line 507: | ||
.border-week { | .border-week { | ||
margin-top: 20px; | margin-top: 20px; | ||
− | |||
background-color: transparent; | background-color: transparent; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
Line 475: | Line 514: | ||
float: right; | float: right; | ||
border: 2px solid black; | border: 2px solid black; | ||
− | background-color: | + | background-color: #2b2b2b; |
margin-bottom: 0px; | margin-bottom: 0px; | ||
margin-top: 5px; | margin-top: 5px; | ||
Line 483: | Line 522: | ||
float: right; | float: right; | ||
clear: both; | clear: both; | ||
+ | cursor: pointer; | ||
} | } | ||
.biospray-btn { | .biospray-btn { | ||
Line 495: | Line 535: | ||
margin-left: 10px; | margin-left: 10px; | ||
display: inline-block; | display: inline-block; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
.biospray-content { | .biospray-content { | ||
Line 522: | Line 562: | ||
text-align:left; | text-align:left; | ||
clear: right; | clear: right; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
#biospray-title { | #biospray-title { | ||
Line 531: | Line 571: | ||
display: inline-block; | display: inline-block; | ||
padding-bottom: 15px; | padding-bottom: 15px; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
.labtitle { | .labtitle { | ||
Line 540: | Line 580: | ||
padding-bottom: 0px; | padding-bottom: 0px; | ||
display: inline-block; | display: inline-block; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.journal-summary-heading { | .journal-summary-heading { | ||
− | color: # | + | color: #669966; |
font-size: 20px; | font-size: 20px; | ||
} | } | ||
.journal-content { | .journal-content { | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
.journal-protocol, .journal-protocol:hover { | .journal-protocol, .journal-protocol:hover { | ||
− | color: # | + | color: #669966; |
text-decoration: none; | text-decoration: none; | ||
+ | cursor: pointer; | ||
} | } | ||
.box-btn.glyphicon { | .box-btn.glyphicon { | ||
font-size: 2em; | font-size: 2em; | ||
− | color: # | + | color: #d6d6d6; |
-webkit-transition:0.3s; | -webkit-transition:0.3s; | ||
-moz-transition:0.3s; | -moz-transition:0.3s; | ||
Line 603: | Line 605: | ||
.box-btn.glyphicon:hover { | .box-btn.glyphicon:hover { | ||
− | color: # | + | color: #669966; |
} | } | ||
.biospray-btn.glyphicon:hover { | .biospray-btn.glyphicon:hover { | ||
− | color: # | + | color: #669966; |
} | } | ||
+ | /** END OF LABJOURNAL **/ | ||
− | /** | + | |
− | + | /** GENERAL PAGE STRUCTURE **/ | |
− | + | ||
− | + | .ribbon { | |
+ | background-color: transparent; | ||
+ | padding-right: 0px; | ||
+ | padding-left: 0px; | ||
+ | } | ||
+ | .rows { | ||
+ | padding: 20px; | ||
+ | padding-bottom: 80px; | ||
+ | background-color: transparent; | ||
} | } | ||
+ | .rows > .btn { | ||
+ | margin-bottom: 15px; | ||
+ | } | ||
+ | .row1, .row2, .row3, .row4, .row5, .row6 { | ||
+ | padding-top: 10px; | ||
+ | padding-bottom:10px; | ||
+ | padding-left:30px; | ||
+ | padding-right:20px; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | ul .dropdown-menu { | ||
+ | right:0; | ||
+ | } | ||
+ | .btn .btn-info .col-sm-1 .box-btn { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .btn-info { | ||
+ | background-color: #339966; | ||
+ | |||
+ | } | ||
a:link, a:visited, a:active, a { | a:link, a:visited, a:active, a { | ||
Line 620: | Line 652: | ||
color: white; | color: white; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
+ | cursor: pointer; | ||
} | } | ||
− | + | e { | |
− | font-size: | + | font-size: 120%; |
− | + | color: white; | |
− | + | font-weight: 450; | |
} | } | ||
+ | /** END OF GENERAL PAGE STRUCTURE **/ | ||
+ | /** MODAL THEMES **/ | ||
− | . | + | .modal { |
− | + | top: 70px; | |
− | color: black; | + | } |
+ | |||
+ | .modal-body, .modal-title { | ||
+ | color: black !important; | ||
} | } | ||
− | . | + | .modal-body p { |
− | + | color: black; | |
− | color: | + | |
} | } | ||
− | . | + | body.modal-open { |
− | + | overflow: visible; | |
} | } | ||
+ | /** END OF MODAL THEMES **/ | ||
− | + | ||
− | + | /** TABLE **/ | |
− | + | table, th, td { | |
+ | border: 1px solid #339966 !important; | ||
+ | border-collapse: collapse; | ||
} | } | ||
− | + | .modal > table, th, td { | |
− | + | border: 1px solid black; | |
− | + | border-collapse: collapse; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | /** END OF TABLE **/ | ||
+ | |||
+ | |||
#sponsor-logo { | #sponsor-logo { | ||
Line 677: | Line 716: | ||
.navbar-brand { | .navbar-brand { | ||
display:none; | display:none; | ||
+ | } | ||
+ | .button-center { | ||
+ | margin-bottom: 20px; | ||
+ | text-align: center; | ||
} | } | ||
} | } | ||
+ | |||
+ | @media (max-width: 1200px) { | ||
+ | .navbar-logo { | ||
+ | display: none; | ||
+ | } | ||
+ | .navbar-brand { | ||
+ | padding: 15px 5px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | /** PAGE BREAKING IMAGES **/ | ||
+ | .splash { | ||
+ | background:url(../img/splash/modelling.JPG) no-repeat; | ||
+ | height:300px; | ||
+ | width: 100%; | ||
+ | margin: auto; | ||
+ | padding-top:50px; | ||
+ | color: #fff; | ||
+ | background-position: center center; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-attachment: scroll; | ||
+ | } | ||
+ | |||
+ | .ft-biospray { | ||
+ | background: url(../img/splash/ft-biospray.jpg) no-repeat; | ||
+ | height:300px; | ||
+ | width: 100%; | ||
+ | margin: auto; | ||
+ | padding-top:50px; | ||
+ | color: #fff; | ||
+ | background-position: center center; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-attachment: scroll; | ||
+ | } | ||
+ | .ft-fingerprint { | ||
+ | background: url(../img/splash/ft-fingerprint.jpg) no-repeat; | ||
+ | height:300px; | ||
+ | width: 100%; | ||
+ | margin: auto; | ||
+ | padding-top:50px; | ||
+ | color: #fff; | ||
+ | background-position: center center; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-attachment: scroll; | ||
+ | } | ||
+ | .ft-chromate { | ||
+ | background: url(../img/splash/ft-chromate.jpg) no-repeat; | ||
+ | height:300px; | ||
+ | width: 100%; | ||
+ | margin: auto; | ||
+ | padding-top:50px; | ||
+ | color: #fff; | ||
+ | background-position: center center; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-attachment: scroll; | ||
+ | } | ||
+ | |||
+ | .page-break { | ||
+ | border-style: solid; | ||
+ | border-bottom: thin solid #FFF; | ||
+ | margin-bottom: 50px; | ||
+ | } | ||
+ | |||
+ | .caption-center { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | |||
+ | body h1 { | ||
+ | color: #339966; | ||
+ | padding-top: -15px; | ||
+ | } | ||
+ | |||
+ | body h2 { | ||
+ | color: #339966; | ||
+ | margin-top: -20px; | ||
+ | padding-top: -15px; | ||
+ | } | ||
+ | |||
+ | /** END OF PAGE BREAKING IMAGES**/ | ||
+ | |||
+ | /** SEQUENCES PAGE **/ | ||
+ | |||
+ | .modal-body p { | ||
+ | word-wrap: break-word; | ||
+ | } | ||
+ | |||
+ | .sequences { | ||
+ | word-wrap: break-word; | ||
+ | } | ||
+ | |||
+ | /** END OF SEQUENCES **/ | ||
</style> | </style> | ||
</html> | </html> | ||
+ | 1 |
Latest revision as of 15:43, 13 September 2015
1