Difference between revisions of "Template:Lanzhou/CSS"

 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* Variable */
 
/* Variable */
 +
:root {
 +
--mdc-theme-primary: #5c68db;
 +
}
 
/* Function */
 
/* Function */
 
.surface{
 
.surface{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 
display: flex;
 
display: flex;
 
align-items: center;
 
align-items: center;
Line 15: Line 20:
 
*, :after, :before{
 
*, :after, :before{
 
box-sizing: border-box;
 
box-sizing: border-box;
 +
font-weight: 300;
 
}
 
}
 
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section{
 
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section{
 
display: block;
 
display: block;
 +
}
 +
figcaption{
 +
    font-size: 0.85rem;
 
}
 
}
 
a, a:active, a:hover, a:link, a:visited{
 
a, a:active, a:hover, a:link, a:visited{
Line 37: Line 46:
 
padding-bottom: 0;
 
padding-bottom: 0;
 
}
 
}
+
embed{
#mw-content-text{
+
width: 100%;
 +
height: 100vh;
 +
}
 +
#mw-content-tex{
 
display: -webkit-box;
 
display: -webkit-box;
 
display: -ms-flexbox;
 
display: -ms-flexbox;
/* display: flex; */
+
display: flex;
 
-webkit-box-orient: vertical;
 
-webkit-box-orient: vertical;
 
-webkit-box-direction: normal;
 
-webkit-box-direction: normal;
Line 51: Line 63:
 
}
 
}
 
#to-top{
 
#to-top{
display: none;
 
 
position: fixed;
 
position: fixed;
 
bottom: 1rem;
 
bottom: 1rem;
right: 1rem;
+
right: 2rem;
 +
transform: translate(0, 0);
 +
transform: scale(1);
 +
transition: .5s;
 +
}
 +
#to-top span{
 +
position: relative;
 +
top: 0;
 +
font-size: 1.3em;
 +
transition: 1.2s;
 +
}
 +
#to-top.exit-motions{
 +
opacity: 0;
 +
transform: scale(0);
 +
}
 +
#to-top.exit-motions span{
 +
top: 1em;
 +
}
 +
#openAll{
 +
position: fixed;
 +
bottom: 5rem;
 +
right: 2rem;
 +
transition: .5s;
 +
}
 +
.exit-motions + #openAll{
 +
bottom: 1rem;
 
}
 
}
 
.page__content, .footer__content{
 
.page__content, .footer__content{
max-width: 1312px;
+
max-width: 1200px;
 
padding-left: 16px;
 
padding-left: 16px;
 
padding-right: 16px;
 
padding-right: 16px;
 
margin-left: auto;
 
margin-left: auto;
 
margin-right: auto;
 
margin-right: auto;
 +
}
 +
.mdc-typography--body1, .mdc-typography--body2{
 +
font-size: 1rem;
 +
line-height: 1.8rem;
 +
}
 +
.mdc-typography--body1{
 +
font-weight: 300;
 +
}
 +
.mdc-typography--body2{
 +
font-weight: 400;
 
}
 
}
 
/* Navigation */
 
/* Navigation */
Line 77: Line 123:
 
color: white;
 
color: white;
 
font-size: 16px;
 
font-size: 16px;
 +
}
 +
.mdc-temporary-drawer .mdc-list-item__start-detail{
 +
transiton: 0.5s;
 +
}
 +
.mdc-temporary-drawer .mdc-list-item__start-detail-color{
 +
color: #ff4081;
 
}
 
}
 
.mdc-temporary-drawer .multi-nav-icon{
 
.mdc-temporary-drawer .multi-nav-icon{
Line 86: Line 138:
 
.mdc-temporary-drawer .multi-nav-icon-rotate{
 
.mdc-temporary-drawer .multi-nav-icon-rotate{
 
transform: rotate(180deg);
 
transform: rotate(180deg);
 +
color: #ff4081;
 
}
 
}
 
.mdc-temporary-drawer .sub-nav{
 
.mdc-temporary-drawer .sub-nav{
Line 95: Line 148:
 
font-size: 0.8em;
 
font-size: 0.8em;
 
line-height: 1em;
 
line-height: 1em;
 +
}
 +
/* Home */
 +
.home {
 +
  padding-top: 10vh;
 +
}
 +
.home .home__item {
 +
  display: -webkit-box;
 +
  display: -ms-flexbox;
 +
  display: flex;
 +
  -ms-flex-direction: row;
 +
  flex-direction: row;
 +
  min-height: 200px;
 +
  margin-bottom: 20px;
 +
}
 +
.home .home__item canvas {
 +
  width: 50%;
 +
  height: 100%;
 +
}
 +
.home .home__item .home_text {
 +
  padding: 50px;
 +
  width: 50%;
 +
}
 +
.home .home__item .home_text a{
 +
  font-size: 1.3em;
 +
}
 +
.home .home__item:nth-of-type(odd) .home_text {
 +
  border-left: 1px solid black;
 +
}
 +
.home .home__item:nth-of-type(even) .home_text {
 +
  border-right: 1px solid black;
 
}
 
}
 
/* Page */
 
/* Page */
Line 105: Line 188:
 
justify-content: center;
 
justify-content: center;
 
background-color: #000000;
 
background-color: #000000;
min-height: 50vh;
+
min-height: 70vh;
 
}
 
}
 
.page__header h1{
 
.page__header h1{
 
color: white;
 
color: white;
 
text-align: center;
 
text-align: center;
 +
font-size: 3rem;
 
}
 
}
 
.page__content{
 
.page__content{
 
width: 100%;
 
width: 100%;
 +
margin-top: 60px;
 +
}
 +
.page__content .team-cards{
 +
justify-content: center !important;
 +
}
 +
.page__content .team-cards .mdc-layout-grid__cell{
 +
margin: 2em !important;
 +
}
 +
.tabs{
 +
margin-bottom: 60px;
 +
}
 +
.tabs ul{
 
display: -webkit-box;
 
display: -webkit-box;
 
display: -ms-flexbox;
 
display: -ms-flexbox;
 
display: flex;
 
display: flex;
-webkit-box-flex: 1;
+
-ms-flex-direction: row;
-ms-flex: 1;
+
flex-direction: row;
flex: 1;
+
justify-content: center;
margin-top: 120px;
+
padding: 0;
 +
flex-wrap: wrap;
 +
}
 +
.tabs ul li{
 +
min-width: 100px;
 +
margin-left: 24px;
 +
margin-right: 24px;
 +
margin-bottom: 2em;
 +
}
 +
.tabs ul li a{
 +
display: block;
 +
text-align: center;
 +
font-size: 1.5em;
 +
color: #ff4081;
 +
font-weight: 800;
 +
}
 +
.tabs ul li a, .tabs ul li a:hover, .tabs ul li a:link, .tabs ul li a:active, .tabs ul li a:visited{
 +
text-decoration: none;
 +
}
 +
.tabs ul li a::after{
 +
position: relative;
 +
content: "";
 +
display: block;
 +
border-bottom: 2px solid #5c68db;
 +
width: 0;
 +
top: 0.5em;
 +
left: 50%;
 +
transition: 0.5s;
 +
}
 +
.tabs ul li a:hover:after{
 +
width: 100%;
 +
left: 0;
 +
}
 +
.tab_actived::after{
 +
content: "";
 +
display: block;
 +
border-bottom: 2px solid #5c68db;
 +
width: 100% !important;
 +
left: 0 !important;
 
}
 
}
 
.page__article{
 
.page__article{
 
height: auto;
 
height: auto;
 
display: inline-block;
 
display: inline-block;
 +
right: 0px;
 
}
 
}
 
.page__drawer{
 
.page__drawer{
 
display: inline-block;
 
display: inline-block;
 
position: relative;
 
position: relative;
width: 260px;
+
width: 197px;
 
height: auto;
 
height: auto;
 
border: 0;
 
border: 0;
 +
top: 42px;
 
vertical-align: top;
 
vertical-align: top;
 
}
 
}
.page__drawer + .page__article, .story{
+
.page__article, .story{
width: calc(100% - 275px);
+
width: calc(100% - 205px);
 
}
 
}
 
#page__drawer-mobile-container{
 
#page__drawer-mobile-container{
Line 144: Line 280:
 
font-size: 0.8em;
 
font-size: 0.8em;
 
z-index: 1;
 
z-index: 1;
background-color: #3f51b5;
+
background-color: #5c68db;
 
}
 
}
 
#page__drawer-mobile-container nav{
 
#page__drawer-mobile-container nav{
Line 161: Line 297:
 
}
 
}
 
.page__article .mdc-typography--headline{
 
.page__article .mdc-typography--headline{
border-style: solid;
+
text-align: center;
border-width: 0 0 0 8px;
+
font-size: 2em;
border-color: #3f51b5;
+
margin-top: 2em;
padding-left: 0.5em;
+
 
}
 
}
 
.page__article .page__article__list{
 
.page__article .page__article__list{
Line 170: Line 305:
 
padding: 1em 1em 1em 3em;
 
padding: 1em 1em 1em 3em;
 
border: 1px solid rgba(0, 0, 0, 0.1);
 
border: 1px solid rgba(0, 0, 0, 0.1);
 +
margin-left: auto;
 +
margin-right: auto;
 
}
 
}
 
.page__article .page__article__list li{
 
.page__article .page__article__list li{
 
list-style: inherit;
 
list-style: inherit;
 +
margin: 1.5em;
 +
}
 +
.page__article .page__article__picture{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
justify-content: center;
 +
flex-wrap: wrap;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.page__article .page__article__picture img{
 +
max-height: 350px;
 +
margin: 0.5em;
 +
}
 +
.page__article figure.small-picture{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
flex-wrap: wrap;
 +
justify-content: center;
 +
}
 +
.page__article figure.small-picture img{
 +
max-height: 100px;
 +
margin: 1em;
 
}
 
}
 
.page__article figure{
 
.page__article figure{
Line 223: Line 385:
 
background: #ffeb3b;
 
background: #ffeb3b;
 
}
 
}
.page__article figure p{
+
.page__article figure img{
 +
display: block;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.page__article figure figcaption{
 
margin-top: 0.5em;
 
margin-top: 0.5em;
 
margin-bottom: 0;
 
margin-bottom: 0;
font-weight: 500;
+
text-align: center;
 +
}
 +
.page__article figure span{
 +
display: block;
 
text-align: center;
 
text-align: center;
 
}
 
}
Line 239: Line 409:
 
.page__drawer-list{
 
.page__drawer-list{
 
padding: 0;
 
padding: 0;
font-weight: 500;
 
 
}
 
}
 
.page__drawer-list__link{
 
.page__drawer-list__link{
 
display: inline-block;
 
display: inline-block;
 
padding: 8px 0;
 
padding: 8px 0;
 +
font-weight: 500;
 +
font-size: 1rem !important;
 +
max-width: 80%;
 
}
 
}
 
.page__drawer-list__link, .page__drawer-list__link:hover, .page__drawer-list__link:link, .page__drawer-list__link:active, .page__drawer-list__link:visited{
 
.page__drawer-list__link, .page__drawer-list__link:hover, .page__drawer-list__link:link, .page__drawer-list__link:active, .page__drawer-list__link:visited{
Line 249: Line 421:
 
}
 
}
 
.page__drawer-list__link:hover{
 
.page__drawer-list__link:hover{
border-bottom: 2px solid #3f51b5;
+
border-bottom: 2px solid #5c68db;
 
padding-bottom: 6px;
 
padding-bottom: 6px;
 
}
 
}
Line 255: Line 427:
 
color: black;
 
color: black;
 
font-weight: 600 !important;
 
font-weight: 600 !important;
border-bottom: 1px black solid;
+
border-bottom: 2px solid #5c68db;
 +
padding-bottom: 6px;
 
}
 
}
 
.page__article__citations{
 
.page__article__citations{
Line 263: Line 436:
 
margin-bottom: 1em;
 
margin-bottom: 1em;
 
color: #4F4F4F;
 
color: #4F4F4F;
 +
font-size: 0.8rem;
 +
}
 +
.collaboration-cards{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
justify-content: center;
 +
}
 +
.collaboration-cards .mdc-card{
 +
width: 320px;
 +
margin: 1em;
 +
}
 +
.collaboration-cards .mdc-card .mdc-card__media{
 +
background-size: contain;
 +
background-position: center;
 +
background-repeat: no-repeat;
 +
height: 12.313rem;
 +
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
 
}
 
}
 
.team-page .page__article .mdc-typography--headline{
 
.team-page .page__article .mdc-typography--headline{
border-style: solid;
+
text-align: center;
border-width: 0 0 0 8px;
+
border-color: #3f51b5;
+
 
padding-left: 0.5em;
 
padding-left: 0.5em;
 +
font-size: 2em;
 +
margin-top: 2em;
 
}
 
}
 
.team-page .page__article .page__article__list{
 
.team-page .page__article .page__article__list{
Line 283: Line 474:
 
}
 
}
 
.team-cards{
 
.team-cards{
display: -webkit-flex;
+
display: -webkit-box;
 +
display: -ms-flexbox;
 
display: flex;
 
display: flex;
 
flex-wrap: wrap;
 
flex-wrap: wrap;
Line 321: Line 513:
 
}
 
}
 
.team-cards .mdc-card:hover{
 
.team-cards .mdc-card:hover{
 +
-webkit-box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);
 +
box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);
 
padding-top: 20px;
 
padding-top: 20px;
 
}
 
}
Line 372: Line 566:
 
margin-right: 10px;
 
margin-right: 10px;
 
color: white;
 
color: white;
 +
}
 +
/* NoteBook */
 +
.notebook .mdc-theme--dark{
 +
background: #303030;
 +
padding: 24px;
 +
}
 +
.notebook h3{
 +
color: white;
 +
}
 +
.notebook .mdc-list-item{
 +
box-sizing: content-box;
 +
}
 +
.notebook .mdc-list-item .mdc-list-item__end-detail{
 +
transition: 0.5s;
 +
}
 +
.notebook .mdc-list-item--opened .mdc-list-item__end-detail{
 +
transform: rotate(180deg);
 +
color: #ff4081;
 +
}
 +
.notebook .detail{
 +
display: none;
 +
padding: 1em;
 +
color: black;
 +
background-color: white;
 +
box-sizing: content-box;
 +
}
 +
.notebook .detail:last-child{
 +
margin-bottom: 1em;
 +
}
 +
.notebook .detail li{
 +
padding-left: 2.75em;
 +
font-size: 0.9rem;
 +
margin: 0.5em 0;
 +
line-height: 1.2em;
 +
word-break: break-word;
 +
}
 +
.notebook .detail > img{
 +
display: block;
 +
width: 60%;
 +
max-width: 600px;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.notebook .figure{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
flex-wrap: wrap;
 +
justify-content: center;
 +
width: 60%;
 +
margin-top: 1em;
 +
margin-bottom: 1em;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.notebook .figure figure{
 +
margin: 0.5em;
 +
width: 40%;
 +
min-width: 250px;
 +
}
 +
.notebook .figure figure img{
 +
display: block;
 +
width: 100%;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.notebook .figure figure figcaption{
 +
margin-top: 0.5em;
 +
margin-bottom: 0;
 +
text-align: center;
 +
font-size: 0.9em;
 +
}
 +
/* Background */
 +
.bg .figure{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
flex-wrap: wrap;
 +
justify-content: center;
 +
width: 100%;
 +
margin-top: 1em;
 +
margin-bottom: 1em;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.bg .figure figure{
 +
margin: 0.5em;
 +
}
 +
.bg .figure figure img{
 +
display: block;
 +
max-height: 300px;
 +
border-radius: 25px;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.bg .figure figure figcaption{
 +
margin-top: 0.5em;
 +
margin-bottom: 0;
 +
text-align: center;
 +
font-size: 0.9em;
 +
}
 +
.figure.logo figure hr{
 +
width: 80%;
 +
}
 +
.figure.logo figure img{
 +
padding: 1em;
 +
max-width: 300px;
 
}
 
}
 
/* HP */
 
/* HP */
 +
.hp-cards{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
flex-wrap: wrap;
 +
justify-content: center;
 +
width: 80%;
 +
margin-top: 16px;
 +
padding: 0;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.hp-cards .mdc-layout-grid__cell{
 +
height: 21.875rem;
 +
max-width: 360px;
 +
min-width: 360px;
 +
flex-grow: 1;
 +
padding-bottom: 16px;
 +
margin: 1em;
 +
}
 +
.hp-cards a, .hp-cards a:hover, .hp-cards a:link, .hp-cards a:active, .hp-cards a:visited{
 +
text-decoration: none;
 +
}
 +
.hp-cards .mdc-card{
 +
position: relative;
 +
width: 100%;
 +
height: 100%;
 +
padding-top: 240px;
 +
background-size: cover;
 +
background-color: #CACACA;
 +
background-position: center;
 +
background-repeat: no-repeat;
 +
justify-content: flex-start;
 +
transition: .5s;
 +
}
 +
.hp-cards .mdc-card .mdc-card__supporting-text{
 +
height: 278px;
 +
}
 +
.hp-cards .mdc-card:hover{
 +
-webkit-box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);
 +
box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);
 +
}
 
.timeline{
 
.timeline{
 
width: 100%;
 
width: 100%;
 
padding: 0;
 
padding: 0;
 
}
 
}
.timeline li{
+
.timeline > li{
 
position: relative;
 
position: relative;
 
width: 8px;
 
width: 8px;
Line 387: Line 730:
 
padding-bottom: 48px;
 
padding-bottom: 48px;
 
}
 
}
.timeline li::after{
+
.timeline > li::after{
 
content: '';
 
content: '';
 
position: absolute;
 
position: absolute;
Line 394: Line 737:
 
width: 36px;
 
width: 36px;
 
height: 36px;
 
height: 36px;
background-color: #757de8;
+
background-color: #5c68db;
 
border: 18px solid #ff4081;
 
border: 18px solid #ff4081;
 
border-radius: 50%;
 
border-radius: 50%;
 
transform: translate(-50%, -50%);
 
transform: translate(-50%, -50%);
transition: 1s;
+
transition: .4s;
 
}
 
}
.timeline li .mdc-card{
+
.timeline > li a, .timeline > li a:hover, .timeline > li a:link, .timeline > li a:active, .timeline > li a:visited{
 +
text-decoration: none;
 +
}
 +
.timeline > li .mdc-card{
 
position: relative;
 
position: relative;
 
max-width: 21.875rem;
 
max-width: 21.875rem;
Line 410: Line 756:
 
transition: 1s;
 
transition: 1s;
 
}
 
}
.timeline li .mdc-card::before{
+
.timeline > li .mdc-card .mdc-card__title--large{
 +
font-size: 1.1rem;
 +
line-height: 1.5rem;
 +
}
 +
.timeline > li .mdc-card:hover{
 +
-webkit-box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);
 +
box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);
 +
}
 +
.timeline > li .mdc-card::before{
 
position: absolute;
 
position: absolute;
 
content: '';
 
content: '';
Line 419: Line 773:
 
border-style: solid;
 
border-style: solid;
 
}
 
}
.timeline li .mdc-card section, .timeline li .mdc-card h1, .timeline li .mdc-card h2{
+
.timeline > li .mdc-card section, .timeline > li .mdc-card h1, .timeline > li .mdc-card h2{
 
color: white;
 
color: white;
 
}
 
}
.timeline li:nth-child(odd) .mdc-card{
+
.timeline > li:nth-of-type(odd) .mdc-card{
 
left: calc(100% + 36px);
 
left: calc(100% + 36px);
 
transform: translateX(200px);
 
transform: translateX(200px);
 
}
 
}
.timeline li:nth-child(odd) .mdc-card::before{
+
.timeline > li:nth-of-type(odd) .mdc-card::before{
 
left: -16px;
 
left: -16px;
 
border-width: 8px 16px 8px 0;
 
border-width: 8px 16px 8px 0;
 
border-color: transparent #757de8 transparent transparent;
 
border-color: transparent #757de8 transparent transparent;
 
}
 
}
.timeline li:nth-child(even) .mdc-card{
+
.timeline > li:nth-of-type(even) .mdc-card{
 
right: 316px;
 
right: 316px;
 
transform: translateX(-200px);
 
transform: translateX(-200px);
 
}
 
}
.timeline li:nth-child(even) .mdc-card::before{
+
.timeline > li:nth-of-type(even) .mdc-card::before{
 
right: -16px;
 
right: -16px;
 
border-width: 8px 0 8px 16px;
 
border-width: 8px 0 8px 16px;
 
border-color: transparent transparent transparent #757de8;
 
border-color: transparent transparent transparent #757de8;
 
}
 
}
.timeline .inview::after{
+
.timeline .container{
border-width: 0px;
+
display: none;
 +
width: 90%;
 +
margin-left: auto;
 +
margin-right: auto;
 +
padding-top: 1em;
 +
padding-bottom: 1em;
 +
padding-right: 2em;
 +
padding-left: 2em;
 +
background-color: #fbfbfb;
 +
border: 0px solid #ff4081;
 +
overflow: hidden;
 +
transition: border .4s;
 +
}
 +
.timeline .container .figure{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
flex-wrap: wrap;
 +
justify-content: center;
 +
width: 60%;
 +
margin-top: 1em;
 +
margin-bottom: 1em;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.timeline .container .figure figure{
 +
margin: 0.5em;
 +
width: 40%;
 +
min-width: 250px;
 +
}
 +
.timeline .container .figure figure img{
 +
display: block;
 +
width: 100%;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
.timeline .container .figure figure figcaption{
 +
margin-top: 0.5em;
 +
margin-bottom: 0;
 +
text-align: center;
 +
font-size: 0.9em;
 +
}
 +
.timeline .container .detail{
 +
display: none;
 +
}
 +
.timeline .container .detail, .timeline .container .overview{
 +
position: relative;
 +
}
 +
.timeline .container .read_more, .timeline .container .return_overview{
 +
float: right;
 +
}
 +
.timeline .container-opened + .container{
 +
border: 8px solid #ff4081;
 +
}
 +
.timeline .container-opened::after{
 +
border: 18px solid #757de8;
 
}
 
}
 
.timeline .inview .mdc-card{
 
.timeline .inview .mdc-card{
 
transform: none !important;
 
transform: none !important;
 
opacity: 1;
 
opacity: 1;
 +
}
 +
.medal img{
 +
width: 100%;
 +
padding: 8px;
 +
}
 +
.medal h1{
 +
text-align: center;
 +
}
 +
.medal li{
 +
margin-bottom: 0.3em;
 +
}
 +
.medal .mdc-layout-grid__cell > ul > li:before{
 +
content: '✔';
 +
color: red;
 
}
 
}
 
/* Footer */
 
/* Footer */
Line 491: Line 914:
 
-ms-flex-direction: row;
 
-ms-flex-direction: row;
 
flex-direction: row;
 
flex-direction: row;
 +
justify-content: space-between;
 
align-items: center;
 
align-items: center;
 
}
 
}
Line 498: Line 922:
 
display: flex;
 
display: flex;
 
align-items: center;
 
align-items: center;
 +
flex-wrap: wrap;
 
}
 
}
 
.footer__container div img{
 
.footer__container div img{
Line 513: Line 938:
 
-ms-flex-direction: row;
 
-ms-flex-direction: row;
 
flex-direction: row;
 
flex-direction: row;
width: 50%;
 
 
border-right: 1px solid rgba(0, 0, 0, 0.1);
 
border-right: 1px solid rgba(0, 0, 0, 0.1);
 +
padding-right: 2em;
 
}
 
}
 
.footer__logo .no_maskeed{
 
.footer__logo .no_maskeed{
Line 522: Line 947:
 
}
 
}
 
.footer__sponsors{
 
.footer__sponsors{
width: 50%;
 
 
-ms-flex-direction: row-reverse;
 
-ms-flex-direction: row-reverse;
 
flex-direction: row-reverse;
 
flex-direction: row-reverse;
Line 570: Line 994:
 
#to-top{
 
#to-top{
 
bottom: 3rem;
 
bottom: 3rem;
right: 5rem;
+
right: 3rem;
 +
}
 +
#openAll{
 +
bottom: 7rem;
 +
right: 3rem;
 +
}
 +
.exit-motions + #openAll{
 +
bottom: 3rem;
 
}
 
}
 
}
 
}
 
@media (max-width: 1312px) and (min-width: 721px){
 
@media (max-width: 1312px) and (min-width: 721px){
 
.page__content, .footer__content{
 
.page__content, .footer__content{
max-width: 1400px;
+
max-width: 1200px;
 
width: 100%;
 
width: 100%;
 
padding-left: 60px;
 
padding-left: 60px;
Line 589: Line 1,020:
 
position: relative;
 
position: relative;
 
left: 112px;
 
left: 112px;
 +
}
 +
.page__article .page__article__picture img{
 +
max-height: 200px;
 
}
 
}
 
.page__drawer + .page__article, .story{
 
.page__drawer + .page__article, .story{
width: calc(100% - 112px);
+
width: calc(100% - 117px);
 
}
 
}
 
.footer{
 
.footer{
Line 626: Line 1,060:
 
}
 
}
 
#to-top{
 
#to-top{
bottom: 3rem;
+
bottom: 2rem;
 
right: 2rem;
 
right: 2rem;
 +
}
 +
#openAll{
 +
bottom: 6rem;
 +
right: 2rem;
 +
}
 +
.exit-motions + #openAll{
 +
bottom: 2rem;
 
}
 
}
 
}
 
}
Line 633: Line 1,074:
 
.page__header{
 
.page__header{
 
height: 60vh;
 
height: 60vh;
padding-top: 100px;
 
 
}
 
}
 
.page__header h1{
 
.page__header h1{
 
font-size: 2em;
 
font-size: 2em;
 +
}
 +
.tabs ul li a{
 +
font-size: 1em;
 
}
 
}
 
.page__article figure table th, .page__article figure table td{
 
.page__article figure table th, .page__article figure table td{
 
padding: 0.5em 0.3em !important;
 
padding: 0.5em 0.3em !important;
 +
}
 +
.notebook{
 +
padding: 0;
 +
}
 +
.notebook .mdc-theme--dark{
 +
padding: 6px;
 
}
 
}
 
.timeline li{
 
.timeline li{
Line 672: Line 1,121:
 
padding-left: 12px;
 
padding-left: 12px;
 
padding-right: 12px;
 
padding-right: 12px;
 +
}
 +
.page__article .page__article__picture img{
 +
max-height: 160px;
 
}
 
}
 
.footer__links li{
 
.footer__links li{
 
margin-left: 6px;
 
margin-left: 6px;
 +
}
 +
.notebook{
 +
padding-left: 0;
 +
padding-right: 0;
 +
}
 +
.notebook .mdc-theme--dark{
 +
padding: 6px;
 
}
 
}
 
.timeline li .mdc-card{
 
.timeline li .mdc-card{

Latest revision as of 03:41, 2 November 2017

/* Variable */

root {

--mdc-theme-primary: #5c68db; } /* Function */ .surface{ display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; justify-content: center; width: 200px; height: 100px; padding: 1rem; cursor: pointer; user-select: none; -webkit-user-select: none; } /* General */

  • , :after, :before{

box-sizing: border-box; font-weight: 300; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section{ display: block; } figcaption{

   font-size: 0.85rem;

} a, a:active, a:hover, a:link, a:visited{ font-family: Roboto, sans-serif; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-size: .875rem; font-weight: 400; letter-spacing: .04em; line-height: 1.25rem; color: rgba(0, 0, 0, 0.87); font-family: Roboto Mono; } nav ul{ list-style-type: none; } li{ list-style: none; padding-bottom: 0; } embed{ width: 100%; height: 100vh; }

  1. mw-content-tex{

display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: calc(100vh + 192px); margin: 0; overflow-x: hidden; }

  1. to-top{

position: fixed; bottom: 1rem; right: 2rem; transform: translate(0, 0); transform: scale(1); transition: .5s; }

  1. to-top span{

position: relative; top: 0; font-size: 1.3em; transition: 1.2s; }

  1. to-top.exit-motions{

opacity: 0; transform: scale(0); }

  1. to-top.exit-motions span{

top: 1em; }

  1. openAll{

position: fixed; bottom: 5rem; right: 2rem; transition: .5s; } .exit-motions + #openAll{ bottom: 1rem; } .page__content, .footer__content{ max-width: 1200px; padding-left: 16px; padding-right: 16px; margin-left: auto; margin-right: auto; } .mdc-typography--body1, .mdc-typography--body2{ font-size: 1rem; line-height: 1.8rem; } .mdc-typography--body1{ font-weight: 300; } .mdc-typography--body2{ font-weight: 400; } /* Navigation */ .mdc-drawer-scroll-lock{ overflow: initial; } .mdc-temporary-drawer__header .logo{ display: block; width: 100px; height: 100px; margin-right: 12px; border-radius: 100px; } .mdc-temporary-drawer__header .logo-name{ color: white; font-size: 16px; } .mdc-temporary-drawer .mdc-list-item__start-detail{ transiton: 0.5s; } .mdc-temporary-drawer .mdc-list-item__start-detail-color{ color: #ff4081; } .mdc-temporary-drawer .multi-nav-icon{ position: absolute; right: 16px; top: 0.5em; transition: 0.5s; } .mdc-temporary-drawer .multi-nav-icon-rotate{ transform: rotate(180deg); color: #ff4081; } .mdc-temporary-drawer .sub-nav{ display: none; } .mdc-temporary-drawer .sub-nav .mdc-list-item{ background-color: #F7F7F7; padding-left: 3em; font-size: 0.8em; line-height: 1em; } /* Home */ .home {

 padding-top: 10vh;

} .home .home__item {

 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -ms-flex-direction: row;
 flex-direction: row;
 min-height: 200px;
 margin-bottom: 20px;

} .home .home__item canvas {

 width: 50%;
 height: 100%;

} .home .home__item .home_text {

 padding: 50px;
 width: 50%;

} .home .home__item .home_text a{

 font-size: 1.3em;

} .home .home__item:nth-of-type(odd) .home_text {

 border-left: 1px solid black;

} .home .home__item:nth-of-type(even) .home_text {

 border-right: 1px solid black;

} /* Page */ .page__header{ display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; justify-content: center; background-color: #000000; min-height: 70vh; } .page__header h1{ color: white; text-align: center; font-size: 3rem; } .page__content{ width: 100%; margin-top: 60px; } .page__content .team-cards{ justify-content: center !important; } .page__content .team-cards .mdc-layout-grid__cell{ margin: 2em !important; } .tabs{ margin-bottom: 60px; } .tabs ul{ display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-direction: row; flex-direction: row; justify-content: center; padding: 0; flex-wrap: wrap; } .tabs ul li{ min-width: 100px; margin-left: 24px; margin-right: 24px; margin-bottom: 2em; } .tabs ul li a{ display: block; text-align: center; font-size: 1.5em; color: #ff4081; font-weight: 800; } .tabs ul li a, .tabs ul li a:hover, .tabs ul li a:link, .tabs ul li a:active, .tabs ul li a:visited{ text-decoration: none; } .tabs ul li a::after{ position: relative; content: ""; display: block; border-bottom: 2px solid #5c68db; width: 0; top: 0.5em; left: 50%; transition: 0.5s; } .tabs ul li a:hover:after{ width: 100%; left: 0; } .tab_actived::after{ content: ""; display: block; border-bottom: 2px solid #5c68db; width: 100% !important; left: 0 !important; } .page__article{ height: auto; display: inline-block; right: 0px; } .page__drawer{ display: inline-block; position: relative; width: 197px; height: auto; border: 0; top: 42px; vertical-align: top; } .page__article, .story{ width: calc(100% - 205px); }

  1. page__drawer-mobile-container{

display: none; position: fixed; top: 56px; left: 0; width: 100%; font-size: 0.8em; z-index: 1; background-color: #5c68db; }

  1. page__drawer-mobile-container nav{

justify-content: center; }

  1. page__drawer-mobile-container nav a{

padding-top: 1em; padding-bottom: 1em; letter-spacing: 0.04em; line-height: 1.5rem; font-weight: 700; font-size: 1em; } .page__article{ position: relative; } .page__article .mdc-typography--headline{ text-align: center; font-size: 2em; margin-top: 2em; } .page__article .page__article__list{ max-width: 800px; padding: 1em 1em 1em 3em; border: 1px solid rgba(0, 0, 0, 0.1); margin-left: auto; margin-right: auto; } .page__article .page__article__list li{ list-style: inherit; margin: 1.5em; } .page__article .page__article__picture{ display: -webkit-box; display: -ms-flexbox; display: flex; justify-content: center; flex-wrap: wrap; margin-left: auto; margin-right: auto; } .page__article .page__article__picture img{ max-height: 350px; margin: 0.5em; } .page__article figure.small-picture{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; } .page__article figure.small-picture img{ max-height: 100px; margin: 1em; } .page__article figure{ min-width: 300px; max-width: 600px; margin-top: 3em; margin-bottom: 3em; margin-left: auto; margin-right: auto; } .page__article figure div, .page__article figure table, .page__article figure img{ max-width: 100%; max-height: 400px; } .page__article figure table{ width: 100%; text-align: left; border-collapse: collapse; border-spacing: 0; table-layout: fixed; } .page__article figure table *{ word-wrap: break-word; word-break: keep-all; } .page__article figure table tr, .page__article figure table th{ border-bottom: 1px solid #ccc; font-weight: 400; } .page__article figure table th, .page__article figure table td{ padding: 0.5em 1em; } .page__article figure table th{ font-size: 0.9em; } .page__article figure table th[rowspan]{ border-right: 1px solid #ccc; } .page__article figure table thead{ border-top: 1px solid #111; } .page__article figure table thead th{ border-bottom: 1px solid #111; padding: 1em; } .page__article figure table tbody td{ font-size: 0.8em; } .page__article figure .td-highlight{ background: #ffeb3b; } .page__article figure img{ display: block; margin-left: auto; margin-right: auto; } .page__article figure figcaption{ margin-top: 0.5em; margin-bottom: 0; text-align: center; } .page__article figure span{ display: block; text-align: center; } .story{ position: initial; left: 0; max-width: initial; } .story-image{ position: initial; } .page__drawer-list{ padding: 0; } .page__drawer-list__link{ display: inline-block; padding: 8px 0; font-weight: 500; font-size: 1rem !important; max-width: 80%; } .page__drawer-list__link, .page__drawer-list__link:hover, .page__drawer-list__link:link, .page__drawer-list__link:active, .page__drawer-list__link:visited{ text-decoration: none; } .page__drawer-list__link:hover{ border-bottom: 2px solid #5c68db; padding-bottom: 6px; } .page__drawer-list__link--active{ color: black; font-weight: 600 !important; border-bottom: 2px solid #5c68db; padding-bottom: 6px; } .page__article__citations{ padding: 0; } .page__article__citation__item{ margin-bottom: 1em; color: #4F4F4F; font-size: 0.8rem; } .collaboration-cards{ display: -webkit-box; display: -ms-flexbox; display: flex; justify-content: center; } .collaboration-cards .mdc-card{ width: 320px; margin: 1em; } .collaboration-cards .mdc-card .mdc-card__media{ background-size: contain; background-position: center; background-repeat: no-repeat; height: 12.313rem; border-bottom: 1px solid rgba(0, 0, 0, 0.3); } .team-page .page__article .mdc-typography--headline{ text-align: center; padding-left: 0.5em; font-size: 2em; margin-top: 2em; } .team-page .page__article .page__article__list{ padding-left: 1em; border: none; max-width: 100%; } .team-page .page__article ul{ margin-left: 0; padding-left: 0; } .team-page .page__article ul li{ margin: 1em 0; } .team-cards{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 16px; padding: 0; } .team-cards .mdc-layout-grid__cell{ height: 21.875rem; max-width: 360px; min-width: 320px; flex-grow: 1; padding-bottom: 16px; } .team-cards .mdc-card{ position: relative; width: 100%; height: 100%; padding-top: 240px; background-size: cover; background-color: #CACACA; background-position: center; background-repeat: no-repeat; justify-content: flex-start; transition: .8s; } .team-cards .mdc-card section{ background: rgba(0, 0, 0, 0.5); margin-top: 0px; transition: .8s; } .team-cards .mdc-card h1, .team-cards .mdc-card h2{ transition: .8s; } .team-cards .mdc-card .mdc-card__supporting-text{ height: 278px; } .team-cards .mdc-card:hover{ -webkit-box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); padding-top: 20px; } .team-cards .mdc-card:hover section{ background-color: rgba(255, 255, 255, 0.9); color: black; } .team-cards .mdc-card:hover h1, .team-cards .mdc-card:hover h2{ color: black; } .team-cards .mdc-card:hover .scroll{ overflow: overlay; } .team-cards .mdc-card #contacts{ padding: 8px 16px; } .team-cards .mdc-card #contacts ul{ display: -webkit-flex; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; align-content: space-around; padding: 0; margin: 0; } .team-cards .mdc-card #contacts ul li{ width: 88px; margin: 5px 5px 5px 5px; padding: 0px; flex-grow: 1; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); border-radius: 2px; transition: .5s; } .team-cards .mdc-card #contacts ul li:hover{ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } .team-cards .mdc-card #contacts ul li a{ display: block; width: 100%; height: 100%; color: white; font-size: 0.9em; line-height: 2em; text-decoration: none; text-align: center; } .team-cards .mdc-card #contacts ul li a i{ margin-right: 10px; color: white; } /* NoteBook */ .notebook .mdc-theme--dark{ background: #303030; padding: 24px; } .notebook h3{ color: white; } .notebook .mdc-list-item{ box-sizing: content-box; } .notebook .mdc-list-item .mdc-list-item__end-detail{ transition: 0.5s; } .notebook .mdc-list-item--opened .mdc-list-item__end-detail{ transform: rotate(180deg); color: #ff4081; } .notebook .detail{ display: none; padding: 1em; color: black; background-color: white; box-sizing: content-box; } .notebook .detail:last-child{ margin-bottom: 1em; } .notebook .detail li{ padding-left: 2.75em; font-size: 0.9rem; margin: 0.5em 0; line-height: 1.2em; word-break: break-word; } .notebook .detail > img{ display: block; width: 60%; max-width: 600px; margin-left: auto; margin-right: auto; } .notebook .figure{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; width: 60%; margin-top: 1em; margin-bottom: 1em; margin-left: auto; margin-right: auto; } .notebook .figure figure{ margin: 0.5em; width: 40%; min-width: 250px; } .notebook .figure figure img{ display: block; width: 100%; margin-left: auto; margin-right: auto; } .notebook .figure figure figcaption{ margin-top: 0.5em; margin-bottom: 0; text-align: center; font-size: 0.9em; } /* Background */ .bg .figure{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 1em; margin-bottom: 1em; margin-left: auto; margin-right: auto; } .bg .figure figure{ margin: 0.5em; } .bg .figure figure img{ display: block; max-height: 300px; border-radius: 25px; margin-left: auto; margin-right: auto; } .bg .figure figure figcaption{ margin-top: 0.5em; margin-bottom: 0; text-align: center; font-size: 0.9em; } .figure.logo figure hr{ width: 80%; } .figure.logo figure img{ padding: 1em; max-width: 300px; } /* HP */ .hp-cards{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; width: 80%; margin-top: 16px; padding: 0; margin-left: auto; margin-right: auto; } .hp-cards .mdc-layout-grid__cell{ height: 21.875rem; max-width: 360px; min-width: 360px; flex-grow: 1; padding-bottom: 16px; margin: 1em; } .hp-cards a, .hp-cards a:hover, .hp-cards a:link, .hp-cards a:active, .hp-cards a:visited{ text-decoration: none; } .hp-cards .mdc-card{ position: relative; width: 100%; height: 100%; padding-top: 240px; background-size: cover; background-color: #CACACA; background-position: center; background-repeat: no-repeat; justify-content: flex-start; transition: .5s; } .hp-cards .mdc-card .mdc-card__supporting-text{ height: 278px; } .hp-cards .mdc-card:hover{ -webkit-box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); } .timeline{ width: 100%; padding: 0; } .timeline > li{ position: relative; width: 8px; background-color: #ff4081; margin-left: auto; margin-right: auto; padding-top: 48px; padding-bottom: 48px; } .timeline > li::after{ content: ; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; background-color: #5c68db; border: 18px solid #ff4081; border-radius: 50%; transform: translate(-50%, -50%); transition: .4s; } .timeline > li a, .timeline > li a:hover, .timeline > li a:link, .timeline > li a:active, .timeline > li a:visited{ text-decoration: none; } .timeline > li .mdc-card{ position: relative; max-width: 21.875rem; min-width: 280px; visibility: visible; overflow: visible; background-color: #757de8; opacity: 0; transition: 1s; } .timeline > li .mdc-card .mdc-card__title--large{ font-size: 1.1rem; line-height: 1.5rem; } .timeline > li .mdc-card:hover{ -webkit-box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); } .timeline > li .mdc-card::before{ position: absolute; content: ; width: 0; height: 0; top: 50%; transform: translateY(-50%); border-style: solid; } .timeline > li .mdc-card section, .timeline > li .mdc-card h1, .timeline > li .mdc-card h2{ color: white; } .timeline > li:nth-of-type(odd) .mdc-card{ left: calc(100% + 36px); transform: translateX(200px); } .timeline > li:nth-of-type(odd) .mdc-card::before{ left: -16px; border-width: 8px 16px 8px 0; border-color: transparent #757de8 transparent transparent; } .timeline > li:nth-of-type(even) .mdc-card{ right: 316px; transform: translateX(-200px); } .timeline > li:nth-of-type(even) .mdc-card::before{ right: -16px; border-width: 8px 0 8px 16px; border-color: transparent transparent transparent #757de8; } .timeline .container{ display: none; width: 90%; margin-left: auto; margin-right: auto; padding-top: 1em; padding-bottom: 1em; padding-right: 2em; padding-left: 2em; background-color: #fbfbfb; border: 0px solid #ff4081; overflow: hidden; transition: border .4s; } .timeline .container .figure{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; width: 60%; margin-top: 1em; margin-bottom: 1em; margin-left: auto; margin-right: auto; } .timeline .container .figure figure{ margin: 0.5em; width: 40%; min-width: 250px; } .timeline .container .figure figure img{ display: block; width: 100%; margin-left: auto; margin-right: auto; } .timeline .container .figure figure figcaption{ margin-top: 0.5em; margin-bottom: 0; text-align: center; font-size: 0.9em; } .timeline .container .detail{ display: none; } .timeline .container .detail, .timeline .container .overview{ position: relative; } .timeline .container .read_more, .timeline .container .return_overview{ float: right; } .timeline .container-opened + .container{ border: 8px solid #ff4081; } .timeline .container-opened::after{ border: 18px solid #757de8; } .timeline .inview .mdc-card{ transform: none !important; opacity: 1; } .medal img{ width: 100%; padding: 8px; } .medal h1{ text-align: center; } .medal li{ margin-bottom: 0.3em; } .medal .mdc-layout-grid__cell > ul > li:before{ content: '✔'; color: red; } /* Footer */ .footer{ font-family: Roboto, sans-serif; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-size: .875rem; font-weight: 400; letter-spacing: .04em; line-height: 1.25rem; background: #fafafa; min-height: 192px; margin-top: 144px; } .footer ul{ padding: 0; } .footer__content{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; padding-top: 32px; height: 100%; } .footer__title{ display: inline-block; font-size: 1.5em; font-weight: 400; opacity: .5; margin-bottom: 1em; } .footer__container{ display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; -ms-flex-direction: row; flex-direction: row; justify-content: space-between; align-items: center; } .footer__container div{ display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; flex-wrap: wrap; } .footer__container div img{ filter: brightness(0) invert(0.5); -webkit-filter: brightness(0) invert(0.5); -ms-filter: brightness(0) invert(0.5); transition: 0.3s; } .footer__container div img:hover{ filter: brightness(1) invert(0); -webkit-filter: brightness(1) invert(0); -ms-filter: brightness(1) invert(0); } .footer__logo{ -ms-flex-direction: row; flex-direction: row; border-right: 1px solid rgba(0, 0, 0, 0.1); padding-right: 2em; } .footer__logo .no_maskeed{ filter: brightness(0.8) invert(0); -webkit-filter: brightness(0.8) invert(0); -ms-filter: brightness(0.8) invert(0); } .footer__sponsors{ -ms-flex-direction: row-reverse; flex-direction: row-reverse; } .footer__links{ display: -webkit-box; display: -ms-flexbox; display: flex; position: relative; left: -8px; list-style-type: none; margin-top: 1em; margin-left: 0; } .footer__links li{ margin-left: 24px; } .footer__links li:first-child{ margin-left: 0px; } .footer__link{ font-family: Roboto, sans-serif; color: rgba(0, 0, 0, 0.87); padding: 8px; text-decoration: none; } .footer__link:active, .footer__link:hover, .footer__link:link, .footer__link:visited{ font-family: Roboto; } .footer__link-container--right{ -webkit-box-flex: 1; -ms-flex: 1; flex: 1; text-align: right; } .footer__link-container--right a{ padding-right: 0; } .footer__made-with-desktop{ display: initial; } .footer__made-with-mobile{ display: none; } /* Media */ @media (min-width: 1200px){ #to-top{ bottom: 3rem; right: 3rem; } #openAll{ bottom: 7rem; right: 3rem; } .exit-motions + #openAll{ bottom: 3rem; } } @media (max-width: 1312px) and (min-width: 721px){ .page__content, .footer__content{ max-width: 1200px; width: 100%; padding-left: 60px; padding-right: 60px; } } @media (max-width: 768px){ .page__drawer{ width: 100px; margin-right: 12px; } .page__article{ position: relative; left: 112px; } .page__article .page__article__picture img{ max-height: 200px; } .page__drawer + .page__article, .story{ width: calc(100% - 117px); } .footer{ margin-top: 120px; } .footer__content{ padding-bottom: 12px; padding-top: 24px; } .footer__container div{ width: 100%; flex-direction: row; } .footer__container div img{ max-height: 70px; } .footer__logo{ border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); margin-bottom: 1em; padding-bottom: 1em; } .footer__link{ font-size: .75rem; } .footer__link:active, .footer__link:hover, .footer__link:link, .footer__link:visited{ font-size: .75rem; } .footer__made-with-desktop{ display: none; } .footer__made-with-mobile{ display: inline-block; } #to-top{ bottom: 2rem; right: 2rem; } #openAll{ bottom: 6rem; right: 2rem; } .exit-motions + #openAll{ bottom: 2rem; } } @media (max-width: 660px){ .page__header{ height: 60vh; } .page__header h1{ font-size: 2em; } .tabs ul li a{ font-size: 1em; } .page__article figure table th, .page__article figure table td{ padding: 0.5em 0.3em !important; } .notebook{ padding: 0; } .notebook .mdc-theme--dark{ padding: 6px; } .timeline li{ margin-left: 22px; } .timeline li .mdc-card{ min-width: 240px; transform: translateX(10px) !important; } .timeline li:nth-child(even) .mdc-card{ left: calc(100% + 36px); right: 0; } .timeline li:nth-child(even) .mdc-card::before{ left: -16px; border-width: 8px 16px 8px 0; border-color: transparent #757de8 transparent transparent; } .page__drawer{ display: none; } .page__article{ width: 100% !important; left: 0; } #page__drawer-mobile-container{ display: table; } } @media (max-width: 360px){ .page__content, .footer__content{ padding-left: 12px; padding-right: 12px; } .page__article .page__article__picture img{ max-height: 160px; } .footer__links li{ margin-left: 6px; } .notebook{ padding-left: 0; padding-right: 0; } .notebook .mdc-theme--dark{ padding: 6px; } .timeline li .mdc-card{ min-width: 228px; } }