UNPKG

auspice

Version:

Web app for visualizing pathogen evolution

230 lines (201 loc) 4.16 kB
/* 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; } blockquote.twitter-tweet { display: inline-block; font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif; font-size: 12px; font-weight: bold; line-height: 16px; border-color: #eee #ddd #bbb; border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); margin: 10px 5px; padding: 0 16px 16px 16px; max-width: 468px; } blockquote.twitter-tweet p { font-size: 16px; font-weight: normal; line-height: 20px; } blockquote.twitter-tweet a { color: inherit; font-weight: normal; text-decoration: none; outline: 0 none; } blockquote.twitter-tweet a:hover, blockquote.twitter-tweet a:focus { text-decoration: underline; } /*@media (max-width: 1100px) { .static .aside { font-size: 0 } }*/ @media (min-width: 550px) { /* apply these styles down to/until we're at 700px */ .twitterRow { display: flex; flex-direction: row; justify-content: space-around; flex-wrap: wrap; } .twitterColumn { display: flex; flex-direction: column; } } /* 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); } }