auspice
Version:
Web app for visualizing pathogen evolution
177 lines (154 loc) • 3.09 kB
CSS
/* Variables - keep in sync with globalStyles.js*/
:root {
--darkGrey: #333;
--medGrey: #888;
--lightGrey: #CCC;
--brandColor: #5097BA;
}
/* stop horizontal scroll bar appearing*/
body {
overflow-x: hidden;
}
/* The width and height properties include
the content, the padding and border, but not the margin.
*/
.static * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.static *:before,
.static *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.static .line {
margin-top: 20px;
margin-bottom: 20px;
border-bottom: 1px solid #CCC;
}
.static .main {
margin-top: 30px;
}
.static .title {
font-size: 28;
}
.static div {
text-align: justify;
font-size: 16px;
margin-top: 5px;
margin-bottom: 5px;
font-weight: 300;
color: var(--darkGrey);
line-height: 1.42857143;
}
.static h1 {
text-align: left;
font-size: 38px;
line-height: 32px;
font-weight: 300;
color: var(--darkGrey);
min-width: 240px;
margin-top: 40px;
margin-bottom: 30px;
}
.static h2 {
text-align: left;
font-size: 16px;
line-height: 28px;
margin-top: 15px;
margin-bottom: 5px;
font-weight: 500;
color: var(--darkGrey);
border-bottom: 10px;
min-width: 240px;
}
.static h3 {
text-align: left;
font-size: 16px;
line-height: 28px;
margin-top: 10px;
margin-bottom: 0px;
font-weight: 500;
color: var(--darkGrey);
border-bottom: 0px;
min-width: 240px;
}
.static .bigspacer {
height: 30px;
}
.static .hugespacer {
height: 50px;
}
.static .bigspacer {
height: 30px;
}
.static .spacer {
height: 10px;
}
.static .smallspacer {
height: 5px;
}
.static .highlight {
background-color: white;
color: var(--medGrey);
font-size: 94%; /* same as <a>*/
}
strong {
background-color: white;
color: var(--medGrey);
font-size: 94%; /* same as <a>*/
}
.static.container {
padding-left: 25px;
padding-right: 25px;
}
.static .col-md-9 img {
width: 100%;
}
.static .clickable {
color: #5097BA;
text-decoration: none;
cursor: pointer;
font-family: "Lato";
font-weight: 400;
font-size: 94%;
}
/*.static aside {
float: right;
}*/
@media (min-width: 992px) {
.static aside {
float: right;
padding-left: 30px;
text-align: left;
}
.static .col-md-3 h1 {
text-align: right;
float: right;
}
.static .col-md-3 h2 {
text-align: right;
float: right;
}
}
.static .aside {
font-size: 13px;
font-weight: 300;
}
/* https://stackoverflow.com/questions/16771225/css3-rotate-animation */
.spinner {
position: relative;
/*top: 50%;*/
left: 50%;
width: 80px;
height: 80px;
margin: 0px 0px 0px -40px;
-webkit-animation:spin 1s linear infinite;
-moz-animation:spin 1s linear infinite;
animation:spin 1s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }