Difference between revisions of "Team:Dundee/style.css"
(119 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
/* hiding the top section*/ | /* hiding the top section*/ | ||
+ | |||
+ | |||
+ | |||
#top-section{ | #top-section{ | ||
height:0px; | height:0px; | ||
Line 11: | Line 14: | ||
padding:0; | padding:0; | ||
background-color:transparent; | background-color:transparent; | ||
− | |||
} | } | ||
Line 40: | Line 42: | ||
} | } | ||
− | h1 { | + | h1, h2, h3, h4 { |
border: none; | border: none; | ||
+ | color: #d6d6d6; | ||
+ | } | ||
+ | |||
+ | #bodyContent h1, #bodyContent h2 { | ||
+ | margin-bottom: 0; | ||
} | } | ||
Line 86: | Line 93: | ||
/* Page Start */ | /* Page Start */ | ||
+ | |||
+ | html, body, div, h1, h2, h3, h4, span, .btn { | ||
+ | font-family: 'roboto'; | ||
+ | line-height: 1.75; | ||
+ | } | ||
+ | |||
html, body { | html, body { | ||
− | |||
− | |||
margin: auto; | margin: auto; | ||
padding: 0px; | padding: 0px; | ||
+ | color: #d6d6d6; | ||
} | } | ||
p { | p { | ||
− | + | 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 112: | Line 125: | ||
font-family: 'cambria'; | font-family: 'cambria'; | ||
font-size: 16px; | font-size: 16px; | ||
− | + | ||
} | } | ||
Line 119: | Line 132: | ||
} | } | ||
− | h3 { | + | header > h3 { |
color:#FFF; | color:#FFF; | ||
font-size: 25px; | font-size: 25px; | ||
+ | } | ||
+ | /** FONTS **/ | ||
+ | @font-face { | ||
+ | font-family: typewriter; | ||
+ | src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf) format('truetype'); | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | @font-face { | ||
+ | font-family: roboto; | ||
+ | src: url(../fonts/RobotoSlab-Light.ttf) format('truetype'); | ||
+ | } | ||
+ | |||
+ | @font-face { | ||
+ | font-family: 'FontAwesome'; | ||
+ | src: url('https://static.igem.org/mediawiki/2015/6/60/Dundee15-fafont.ttf') format('truetype'); | ||
+ | |||
+ | } | ||
+ | |||
/* HEADER */ | /* HEADER */ | ||
header { | header { | ||
− | background:url( | + | background:url(<!--Put image source in ""-->../img/newbg1.png) no-repeat; |
− | height: | + | height:700px; |
width: 100%; | width: 100%; | ||
+ | margin: auto; | ||
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-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-attachment: scroll; | ||
} | } | ||
header h1 { | header h1 { | ||
Line 145: | 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; | ||
+ | } | ||
} | } | ||
/* 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 265: | Line 357: | ||
#about3 .row { | #about3 .row { | ||
margin-bottom: 40px; | margin-bottom: 40px; | ||
− | |||
− | |||
− | |||
} | } | ||
#about3 h4 { | #about3 h4 { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | + | ||
− | + | /** FOOTER AND SPONSORS **/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
footer { | footer { | ||
background: #333333; | background: #333333; | ||
padding-top: 40px; | padding-top: 40px; | ||
padding-bottom: 40px; | padding-bottom: 40px; | ||
+ | padding-left: 30px; | ||
+ | padding-right: 10px; | ||
color: #ffffff; | color: #ffffff; | ||
font-weight: 100; | font-weight: 100; | ||
+ | width: 100%; | ||
} | } | ||
− | footer | + | |
− | + | @media (max-width: 767px) { | |
+ | footer { | ||
+ | padding-top: 40px; | ||
+ | padding-bottom: 40px; | ||
+ | padding-left: 20px; | ||
+ | padding-right: 10px; | ||
+ | } | ||
} | } | ||
− | # | + | #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 327: | Line 435: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#page-wrap { | #page-wrap { | ||
Line 358: | 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 381: | Line 466: | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
− | top: - | + | top: -75px; |
visibility: hidden; | visibility: hidden; | ||
} | } | ||
Line 402: | 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 418: | Line 501: | ||
.border, .border-week, .border-day { | .border, .border-week, .border-day { | ||
− | + | border: 2px solid gray; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.border-week { | .border-week { | ||
margin-top: 20px; | margin-top: 20px; | ||
− | |||
background-color: transparent; | background-color: transparent; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
Line 438: | 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 446: | Line 522: | ||
float: right; | float: right; | ||
clear: both; | clear: both; | ||
+ | cursor: pointer; | ||
} | } | ||
.biospray-btn { | .biospray-btn { | ||
− | margin: | + | margin: 5px; |
float: right; | float: right; | ||
clear: both; | clear: both; | ||
Line 458: | Line 535: | ||
margin-left: 10px; | margin-left: 10px; | ||
display: inline-block; | display: inline-block; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
.biospray-content { | .biospray-content { | ||
Line 485: | Line 562: | ||
text-align:left; | text-align:left; | ||
clear: right; | clear: right; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
#biospray-title { | #biospray-title { | ||
Line 493: | Line 570: | ||
padding-left:0px; | padding-left:0px; | ||
display: inline-block; | display: inline-block; | ||
− | padding-bottom: | + | padding-bottom: 15px; |
− | color: # | + | color: #d6d6d6; |
} | } | ||
.labtitle { | .labtitle { | ||
Line 503: | Line 580: | ||
padding-bottom: 0px; | padding-bottom: 0px; | ||
display: inline-block; | display: inline-block; | ||
− | color: # | + | color: #d6d6d6; |
} | } | ||
+ | .journal-summary-heading { | ||
+ | color: #669966; | ||
+ | font-size: 20px; | ||
+ | } | ||
+ | .journal-content { | ||
+ | color: #d6d6d6; | ||
+ | } | ||
+ | .journal-protocol, .journal-protocol:hover { | ||
+ | color: #669966; | ||
+ | text-decoration: none; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | .box-btn.glyphicon { | ||
+ | font-size: 2em; | ||
+ | color: #d6d6d6; | ||
+ | -webkit-transition:0.3s; | ||
+ | -moz-transition:0.3s; | ||
+ | -o-transition:0.3s; | ||
+ | transition:0.3s; | ||
+ | |||
+ | } | ||
+ | |||
+ | .box-btn.glyphicon:hover { | ||
+ | color: #669966; | ||
+ | } | ||
+ | .biospray-btn.glyphicon:hover { | ||
+ | color: #669966; | ||
+ | } | ||
+ | /** END OF LABJOURNAL **/ | ||
+ | |||
+ | |||
+ | /** GENERAL PAGE STRUCTURE **/ | ||
+ | |||
.ribbon { | .ribbon { | ||
background-color: transparent; | background-color: transparent; | ||
− | padding: | + | padding-right: 0px; |
+ | padding-left: 0px; | ||
} | } | ||
.rows { | .rows { | ||
− | + | padding: 20px; | |
− | + | padding-bottom: 80px; | |
− | + | ||
− | + | ||
background-color: transparent; | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .rows > .btn { | ||
+ | margin-bottom: 15px; | ||
} | } | ||
.row1, .row2, .row3, .row4, .row5, .row6 { | .row1, .row2, .row3, .row4, .row5, .row6 { | ||
− | padding-top: | + | padding-top: 10px; |
− | padding-bottom: | + | padding-bottom:10px; |
− | padding-left: | + | padding-left:30px; |
padding-right:20px; | padding-right:20px; | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
− | + | ul .dropdown-menu { | |
− | + | right:0; | |
− | + | ||
− | .dropdown-menu { | + | |
− | + | ||
} | } | ||
.btn .btn-info .col-sm-1 .box-btn { | .btn .btn-info .col-sm-1 .box-btn { | ||
clear: both; | clear: both; | ||
} | } | ||
+ | |||
+ | .btn-info { | ||
+ | background-color: #339966; | ||
+ | |||
+ | } | ||
+ | |||
+ | a:link, a:visited, a:active, a { | ||
+ | outline: 0; | ||
+ | color: white; | ||
+ | text-decoration: none !important; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | e { | ||
+ | font-size: 120%; | ||
+ | color: white; | ||
+ | font-weight: 450; | ||
+ | } | ||
+ | /** END OF GENERAL PAGE STRUCTURE **/ | ||
/** MODAL THEMES **/ | /** MODAL THEMES **/ | ||
+ | |||
+ | .modal { | ||
+ | top: 70px; | ||
+ | } | ||
.modal-body, .modal-title { | .modal-body, .modal-title { | ||
+ | color: black !important; | ||
+ | } | ||
+ | |||
+ | .modal-body p { | ||
color: black; | color: black; | ||
} | } | ||
+ | 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 { | |
− | + | padding-top: 50px; | |
+ | height:60%; | ||
+ | width:60%; | ||
} | } | ||
− | . | + | |
− | + | @media (max-width: 992px) { | |
+ | #sponsor-logo { | ||
+ | padding-top: 15px; | ||
+ | height:100%; | ||
+ | width:200px; | ||
+ | } | ||
+ | .igem-navbar { | ||
+ | display:none; | ||
+ | } | ||
+ | .navbar-logo { | ||
+ | display: none; | ||
+ | } | ||
+ | .navbar-brand { | ||
+ | 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 { |
− | color: # | + | 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 { |
− | color: # | + | 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: | + | border-bottom: thin solid #FFF; |
− | border- | + | 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> | ||
</html> | </html> | ||
+ | 1 |
Latest revision as of 15:43, 13 September 2015
1