Difference between revisions of "Template:Lanzhou/CSS"

Line 1: Line 1:
 
/* Variable */
 
/* Variable */
 
/* Function */
 
/* Function */
.surface {
+
.surface{
  display: flex;
+
display: flex;
  align-items: center;
+
align-items: center;
  justify-content: center;
+
justify-content: center;
  width: 200px;
+
width: 200px;
  height: 100px;
+
height: 100px;
  padding: 1rem;
+
padding: 1rem;
  cursor: pointer;
+
cursor: pointer;
  user-select: none;
+
user-select: none;
  -webkit-user-select: none;
+
-webkit-user-select: none;
 
}
 
}
 
/* General */
 
/* General */
*,
+
*, :after, :before{
:after,
+
box-sizing: border-box;
:before {
+
  box-sizing: border-box;
+
 
}
 
}
article,
+
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section{
aside,
+
display: block;
details,
+
figcaption,
+
figure,
+
footer,
+
header,
+
hgroup,
+
main,
+
menu,
+
nav,
+
section {
+
  display: block;
+
 
}
 
}
a,
+
a, a:active, a:hover, a:link, a:visited{
a:active,
+
font-family: Roboto, sans-serif;
a:hover,
+
-moz-osx-font-smoothing: grayscale;
a:link,
+
-webkit-font-smoothing: antialiased;
a:visited {
+
font-size: .875rem;
  font-family: Roboto, sans-serif;
+
font-weight: 400;
  -moz-osx-font-smoothing: grayscale;
+
letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
+
line-height: 1.25rem;
  font-size: .875rem;
+
color: rgba(0, 0, 0, 0.87);
  font-weight: 400;
+
font-family: Roboto Mono;
  letter-spacing: .04em;
+
  line-height: 1.25rem;
+
  color: rgba(0, 0, 0, 0.87);
+
  font-family: Roboto Mono;
+
 
}
 
}
nav ul {
+
nav ul{
  list-style-type: none;
+
list-style-type: none;
 
}
 
}
li {
+
li{
  list-style: none;
+
list-style: none;
  padding-bottom: 0;
+
padding-bottom: 0;
 
}
 
}
 
 
#mw-content-text {
 
#mw-content-text {
  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;
  -ms-flex-direction: column;
+
-ms-flex-direction: column;
  flex-direction: column;
+
flex-direction: column;
  min-height: calc(100vh + 192px);
+
min-height: calc(100vh + 192px);
  margin: 0;
+
margin: 0;
  overflow-x: hidden;
+
overflow-x: hidden;
 
}
 
}
#to-top {
+
#to-top{
  display: none;
+
display: none;
  position: fixed;
+
position: fixed;
  bottom: 1rem;
+
bottom: 1rem;
  right: 1rem;
+
right: 1rem;
 
}
 
}
.page__content,
+
.page__content, .footer__content{
.footer__content {
+
max-width: 1312px;
  max-width: 1312px;
+
padding-left: 16px;
  padding-left: 16px;
+
padding-right: 16px;
  padding-right: 16px;
+
margin-left: auto;
  margin-left: auto;
+
margin-right: auto;
  margin-right: auto;
+
 
}
 
}
 
/* Navigation */
 
/* Navigation */
.mdc-drawer-scroll-lock {
+
.mdc-drawer-scroll-lock{
  overflow: initial;
+
overflow: initial;
 
}
 
}
.mdc-temporary-drawer__header .logo {
+
.mdc-temporary-drawer__header .logo{
  display: block;
+
display: block;
  width: 100px;
+
width: 100px;
  height: 100px;
+
height: 100px;
  margin-right: 12px;
+
margin-right: 12px;
  border-radius: 100px;
+
border-radius: 100px;
 
}
 
}
.mdc-temporary-drawer__header .logo-name {
+
.mdc-temporary-drawer__header .logo-name{
  color: white;
+
color: white;
  font-size: 16px;
+
font-size: 16px;
 
}
 
}
.mdc-temporary-drawer .multi-nav-icon {
+
.mdc-temporary-drawer .multi-nav-icon{
  position: absolute;
+
position: absolute;
  right: 16px;
+
right: 16px;
  top: 0.5em;
+
top: 0.5em;
  transition: 0.5s;
+
transition: 0.5s;
 
}
 
}
.mdc-temporary-drawer .multi-nav-icon-rotate {
+
.mdc-temporary-drawer .multi-nav-icon-rotate{
  transform: rotate(180deg);
+
transform: rotate(180deg);
 
}
 
}
.mdc-temporary-drawer .sub-nav {
+
.mdc-temporary-drawer .sub-nav{
  display: none;
+
display: none;
 
}
 
}
.mdc-temporary-drawer .sub-nav .mdc-list-item {
+
.mdc-temporary-drawer .sub-nav .mdc-list-item{
  background-color: #F7F7F7;
+
background-color: #F7F7F7;
  padding-left: 3em;
+
padding-left: 3em;
  font-size: 0.8em;
+
font-size: 0.8em;
  line-height: 1em;
+
line-height: 1em;
 
}
 
}
 
/* Page */
 
/* Page */
.page__content {
+
.page__content{
  width: 100%;
+
width: 100%;
  display: -webkit-box;
+
display: -webkit-box;
  display: -ms-flexbox;
+
display: -ms-flexbox;
  display: flex;
+
display: flex;
  -webkit-box-flex: 1;
+
-webkit-box-flex: 1;
  -ms-flex: 1;
+
-ms-flex: 1;
  flex: 1;
+
flex: 1;
  margin-top: 120px;
+
margin-top: 120px;
 
}
 
}
.page__article {
+
.page__article{
  height: auto;
+
height: auto;
 
}
 
}
.page__drawer {
+
.page__drawer{
  position: fixed;
+
position: fixed;
  width: 304px;
+
width: 304px;
  height: auto;
+
height: auto;
  margin-right: 24px;
+
margin-right: 24px;
  border: 0;
+
border: 0;
 
}
 
}
.page__drawer + .page__article,
+
.page__drawer + .page__article, .story{
.story {
+
width: calc(100% - 328px);
  width: calc(100% - 328px);
+
 
}
 
}
#page__drawer-mobile-container {
+
#page__drawer-mobile-container{
  display: none;
+
display: none;
  position: fixed;
+
position: fixed;
  top: 56px;
+
top: 56px;
  left: 0;
+
left: 0;
  width: 100%;
+
width: 100%;
  font-size: 0.8em;
+
font-size: 0.8em;
  z-index: 1;
+
z-index: 1;
  background-color: #3f51b5;
+
background-color: #3f51b5;
 
}
 
}
#page__drawer-mobile-container nav {
+
#page__drawer-mobile-container nav{
  justify-content: center;
+
justify-content: center;
 
}
 
}
#page__drawer-mobile-container nav a {
+
#page__drawer-mobile-container nav a{
  padding-top: 1em;
+
padding-top: 1em;
  padding-bottom: 1em;
+
padding-bottom: 1em;
  letter-spacing: 0.04em;
+
letter-spacing: 0.04em;
  line-height: 1.5rem;
+
line-height: 1.5rem;
  font-weight: 700;
+
font-weight: 700;
  font-size: 1em;
+
font-size: 1em;
 
}
 
}
.page__article {
+
.page__article{
  position: relative;
+
position: relative;
  left: 328px;
+
left: 328px;
 
}
 
}
.page__article .mdc-typography--headline {
+
.page__article .mdc-typography--headline{
  border-style: solid;
+
border-style: solid;
  border-width: 0 0 0 8px;
+
border-width: 0 0 0 8px;
  border-color: #3f51b5;
+
border-color: #3f51b5;
  padding-left: 0.5em;
+
padding-left: 0.5em;
 
}
 
}
.page__article .page__article__list {
+
.page__article .page__article__list{
  max-width: 700px;
+
max-width: 700px;
  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);
 
}
 
}
.page__article .page__article__list li {
+
.page__article .page__article__list li{
  list-style: inherit;
+
list-style: inherit;
 
}
 
}
.page__article figure {
+
.page__article figure{
  min-width: 300px;
+
min-width: 300px;
  max-width: 600px;
+
max-width: 600px;
  margin-top: 3em;
+
margin-top: 3em;
  margin-bottom: 3em;
+
margin-bottom: 3em;
  margin-left: auto;
+
margin-left: auto;
  margin-right: auto;
+
margin-right: auto;
 
}
 
}
.page__article figure div,
+
.page__article figure div, .page__article figure table, .page__article figure img{
.page__article figure table,
+
max-width: 100%;
.page__article figure img {
+
max-height: 400px;
  max-width: 100%;
+
  max-height: 400px;
+
 
}
 
}
.page__article figure table {
+
.page__article figure table{
  width: 100%;
+
width: 100%;
  text-align: left;
+
text-align: left;
  border-collapse: collapse;
+
border-collapse: collapse;
  border-spacing: 0;
+
border-spacing: 0;
  table-layout: fixed;
+
table-layout: fixed;
 
}
 
}
.page__article figure table * {
+
.page__article figure table *{
  word-wrap: break-word;
+
word-wrap: break-word;
  word-break: keep-all;
+
word-break: keep-all;
 
}
 
}
.page__article figure table tr,
+
.page__article figure table tr, .page__article figure table th{
.page__article figure table th {
+
border-bottom: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
+
font-weight: 400;
  font-weight: 400;
+
 
}
 
}
.page__article figure table th,
+
.page__article figure table th, .page__article figure table td{
.page__article figure table td {
+
padding: 0.5em 1em;
  padding: 0.5em 1em;
+
 
}
 
}
.page__article figure table th {
+
.page__article figure table th{
  font-size: 0.9em;
+
font-size: 0.9em;
 
}
 
}
.page__article figure table th[rowspan] {
+
.page__article figure table th[rowspan]{
  border-right: 1px solid #ccc;
+
border-right: 1px solid #ccc;
 
}
 
}
.page__article figure table thead {
+
.page__article figure table thead{
  border-top: 1px solid #111;
+
border-top: 1px solid #111;
 
}
 
}
.page__article figure table thead th {
+
.page__article figure table thead th{
  border-bottom: 1px solid #111;
+
border-bottom: 1px solid #111;
  padding: 1em;
+
padding: 1em;
 
}
 
}
.page__article figure table tbody td {
+
.page__article figure table tbody td{
  font-size: 0.8em;
+
font-size: 0.8em;
 
}
 
}
.page__article figure .td-highlight {
+
.page__article figure .td-highlight{
  background: #ffeb3b;
+
background: #ffeb3b;
 
}
 
}
.page__article figure p {
+
.page__article figure p{
  margin-top: 0.5em;
+
margin-top: 0.5em;
  margin-bottom: 0;
+
margin-bottom: 0;
  font-weight: 500;
+
font-weight: 500;
  text-align: center;
+
text-align: center;
 
}
 
}
.story {
+
.story{
  position: initial;
+
position: initial;
  left: 0;
+
left: 0;
  max-width: initial;
+
max-width: initial;
 
}
 
}
.story-image {
+
.story-image{
  position: initial;
+
position: initial;
 
}
 
}
.page__drawer-list {
+
.page__drawer-list{
  padding: 0;
+
padding: 0;
  font-weight: 500;
+
font-weight: 500;
 
}
 
}
.page__drawer-list__link {
+
.page__drawer-list__link{
  display: inline-block;
+
display: inline-block;
  padding: 8px 0;
+
padding: 8px 0;
 
}
 
}
.page__drawer-list__link,
+
.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:hover,
+
text-decoration: none;
.page__drawer-list__link:link,
+
.page__drawer-list__link:active,
+
.page__drawer-list__link:visited {
+
  text-decoration: none;
+
 
}
 
}
.page__drawer-list__link--active {
+
.page__drawer-list__link:hover{
  color: black;
+
border-bottom: 2px solid #3f51b5;
  font-weight: 600 !important;
+
padding-bottom: 6px;
  border-bottom: 1px black solid;
+
 
}
 
}
.page__article__citations {
+
.page__drawer-list__link--active{
  padding: 0;
+
color: black;
 +
font-weight: 600 !important;
 +
border-bottom: 1px black solid;
 
}
 
}
.page__article__citation__item {
+
.page__article__citations{
  margin-bottom: 1em;
+
padding: 0;
  color: #4F4F4F;
+
 
}
 
}
.team-page {
+
.page__article__citation__item{
  display: block;
+
margin-bottom: 1em;
 +
color: #4F4F4F;
 
}
 
}
.team-cards {
+
.team-page{
  display: -webkit-flex;
+
display: block;
  display: flex;
+
  flex-wrap: wrap;
+
  justify-content: space-between;
+
  margin-top: 16px;
+
  padding: 0;
+
 
}
 
}
.team-cards .mdc-layout-grid__cell {
+
.team-page .mdc-typography--headline{
  height: 21.875rem;
+
border-style: solid;
  max-width: 360px;
+
border-width: 0 0 0 8px;
  min-width: 320px;
+
border-color: #3f51b5;
  flex-grow: 1;
+
padding-left: 0.5em;
  padding-bottom: 16px;
+
 
}
 
}
.team-cards .mdc-card {
+
.team-page .page__article__list{
  position: relative;
+
padding: 0 1em 1em 3em;
  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 {
+
.team-page .page__article__list li{
  background: rgba(0, 0, 0, 0.5);
+
list-style: inherit;
  margin-top: 0px;
+
  transition: .8s;
+
 
}
 
}
.team-cards .mdc-card h1,
+
.team-cards{
.team-cards .mdc-card h2 {
+
display: -webkit-flex;
  transition: .8s;
+
display: flex;
 +
flex-wrap: wrap;
 +
justify-content: space-between;
 +
margin-top: 16px;
 +
padding: 0;
 
}
 
}
.team-cards .mdc-card .mdc-card__supporting-text {
+
.team-cards .mdc-layout-grid__cell{
  height: 278px;
+
height: 21.875rem;
 +
max-width: 360px;
 +
min-width: 320px;
 +
flex-grow: 1;
 +
padding-bottom: 16px;
 
}
 
}
.team-cards .mdc-card:hover {
+
.team-cards .mdc-card{
  padding-top: 20px;
+
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:hover section {
+
.team-cards .mdc-card section{
  background-color: rgba(255, 255, 255, 0.9);
+
background: rgba(0, 0, 0, 0.5);
  color: black;
+
margin-top: 0px;
 +
transition: .8s;
 
}
 
}
.team-cards .mdc-card:hover h1,
+
.team-cards .mdc-card h1, .team-cards .mdc-card h2{
.team-cards .mdc-card:hover h2 {
+
transition: .8s;
  color: black;
+
 
}
 
}
.team-cards .mdc-card:hover .scroll {
+
.team-cards .mdc-card .mdc-card__supporting-text{
  overflow: overlay;
+
height: 278px;
 
}
 
}
.team-cards .mdc-card #contacts {
+
.team-cards .mdc-card:hover{
  padding: 8px 16px;
+
padding-top: 20px;
 
}
 
}
.team-cards .mdc-card #contacts ul {
+
.team-cards .mdc-card:hover section{
  display: -webkit-flex;
+
background-color: rgba(255, 255, 255, 0.9);
  display: flex;
+
color: black;
  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 {
+
.team-cards .mdc-card:hover h1, .team-cards .mdc-card:hover h2{
  width: 88px;
+
color: black;
  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 {
+
.team-cards .mdc-card:hover .scroll{
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
+
overflow: overlay;
 
}
 
}
.team-cards .mdc-card #contacts ul li a {
+
.team-cards .mdc-card #contacts{
  display: block;
+
padding: 8px 16px;
  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 {
+
.team-cards .mdc-card #contacts ul{
  margin-right: 10px;
+
display: -webkit-flex;
  color: white;
+
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;
 
}
 
}
 
/* HP */
 
/* HP */
.timeline {
+
.timeline{
  width: 100%;
+
width: 100%;
  padding: 0;
+
padding: 0;
 
}
 
}
.timeline li {
+
.timeline li{
  position: relative;
+
position: relative;
  width: 8px;
+
width: 8px;
  background-color: #ff4081;
+
background-color: #ff4081;
  margin-left: auto;
+
margin-left: auto;
  margin-right: auto;
+
margin-right: auto;
  padding-top: 48px;
+
padding-top: 48px;
  padding-bottom: 48px;
+
padding-bottom: 48px;
 
}
 
}
.timeline li::after {
+
.timeline li::after{
  content: '';
+
content: '';
  position: absolute;
+
position: absolute;
  top: 50%;
+
top: 50%;
  left: 50%;
+
left: 50%;
  width: 36px;
+
width: 36px;
  height: 36px;
+
height: 36px;
  background-color: #757de8;
+
background-color: #757de8;
  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: 1s;
 
}
 
}
.timeline li .mdc-card {
+
.timeline li .mdc-card{
  position: relative;
+
position: relative;
  max-width: 21.875rem;
+
max-width: 21.875rem;
  min-width: 280px;
+
min-width: 280px;
  visibility: visible;
+
visibility: visible;
  overflow: visible;
+
overflow: visible;
  background-color: #757de8;
+
background-color: #757de8;
  opacity: 0;
+
opacity: 0;
  transition: 1s;
+
transition: 1s;
 
}
 
}
.timeline li .mdc-card::before {
+
.timeline li .mdc-card::before{
  position: absolute;
+
position: absolute;
  content: '';
+
content: '';
  width: 0;
+
width: 0;
  height: 0;
+
height: 0;
  top: 50%;
+
top: 50%;
  transform: translateY(-50%);
+
transform: translateY(-50%);
  border-style: solid;
+
border-style: solid;
 
}
 
}
.timeline li .mdc-card section,
+
.timeline li .mdc-card section, .timeline li .mdc-card h1, .timeline li .mdc-card h2{
.timeline li .mdc-card h1,
+
color: white;
.timeline li .mdc-card h2 {
+
  color: white;
+
 
}
 
}
.timeline li:nth-child(odd) .mdc-card {
+
.timeline li:nth-child(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-child(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-child(even) .mdc-card{
  right: 316px;
+
right: 316px;
  transform: translateX(-200px);
+
transform: translateX(-200px);
 
}
 
}
.timeline li:nth-child(even) .mdc-card::before {
+
.timeline li:nth-child(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 .inview::after{
  border-width: 0px;
+
border-width: 0px;
 
}
 
}
.timeline .inview .mdc-card {
+
.timeline .inview .mdc-card{
  transform: none !important;
+
transform: none !important;
  opacity: 1;
+
opacity: 1;
 
}
 
}
 
/* Footer */
 
/* Footer */
.footer {
+
.footer{
  font-family: Roboto, sans-serif;
+
font-family: Roboto, sans-serif;
  -moz-osx-font-smoothing: grayscale;
+
-moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
+
-webkit-font-smoothing: antialiased;
  font-size: .875rem;
+
font-size: .875rem;
  font-weight: 400;
+
font-weight: 400;
  letter-spacing: .04em;
+
letter-spacing: .04em;
  line-height: 1.25rem;
+
line-height: 1.25rem;
  background: #fafafa;
+
background: #fafafa;
  height: 192px;
+
min-height: 192px;
  margin-top: 144px;
+
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;
 +
-ms-flex-direction: row;
 +
flex-direction: row;
 +
align-items: center;
 +
}
 +
.footer__container div{
 +
display: -webkit-box;
 +
display: -ms-flexbox;
 +
display: flex;
 +
align-items: center;
 +
width: 50%;
 +
}
 +
.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 ul {
+
.footer__logo{
  padding: 0;
+
-ms-flex-direction: row;
 +
flex-direction: row;
 +
border-right: 1px solid rgba(0, 0, 0, 0.1);
 
}
 
}
.footer__content {
+
.footer__logo .no_maskeed{
  display: -webkit-box;
+
filter: brightness(0.8) invert(0);
  display: -ms-flexbox;
+
-webkit-filter: brightness(0.8) invert(0);
  display: flex;
+
-ms-filter: brightness(0.8) invert(0);
  -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__logo {
+
.footer__sponsors{
  display: inline-block;
+
-ms-flex-direction: row-reverse;
  font-size: 1.5em;
+
flex-direction: row-reverse;
  font-weight: 400;
+
  opacity: .5;
+
 
}
 
}
.footer__links {
+
.footer__links{
  display: -webkit-box;
+
display: -webkit-box;
  display: -ms-flexbox;
+
display: -ms-flexbox;
  display: flex;
+
display: flex;
  position: relative;
+
position: relative;
  left: -8px;
+
left: -8px;
  list-style-type: none;
+
list-style-type: none;
  margin-left: 0;
+
margin-top: 1em;
 +
margin-left: 0;
 
}
 
}
.footer__links li {
+
.footer__links li{
  margin-left: 24px;
+
margin-left: 24px;
 
}
 
}
.footer__links li:first-child {
+
.footer__links li:first-child{
  margin-left: 0px;
+
margin-left: 0px;
 
}
 
}
.footer__link {
+
.footer__link{
  font-family: Roboto, sans-serif;
+
font-family: Roboto, sans-serif;
  color: rgba(0, 0, 0, 0.87);
+
color: rgba(0, 0, 0, 0.87);
  padding: 8px;
+
padding: 8px;
  text-decoration: none;
+
text-decoration: none;
 
}
 
}
.footer__link:active,
+
.footer__link:active, .footer__link:hover, .footer__link:link, .footer__link:visited{
.footer__link:hover,
+
font-family: Roboto;
.footer__link:link,
+
.footer__link:visited {
+
  font-family: Roboto;
+
 
}
 
}
.footer__link-container--right {
+
.footer__link-container--right{
  -webkit-box-flex: 1;
+
-webkit-box-flex: 1;
  -ms-flex: 1;
+
-ms-flex: 1;
  flex: 1;
+
flex: 1;
  text-align: right;
+
text-align: right;
 
}
 
}
.footer__link-container--right a {
+
.footer__link-container--right a{
  padding-right: 0;
+
padding-right: 0;
 
}
 
}
.footer__made-with-desktop {
+
.footer__made-with-desktop{
  display: initial;
+
display: initial;
 
}
 
}
.footer__made-with-mobile {
+
.footer__made-with-mobile{
  display: none;
+
display: none;
 
}
 
}
 
/* Media */
 
/* Media */
@media (min-width: 1200px) {
+
@media (min-width: 1200px){
  #to-top {
+
#to-top{
    bottom: 3rem;
+
bottom: 3rem;
    right: 5rem;
+
right: 5rem;
  }
+
}
 
}
 
}
@media (max-width: 1312px) and (min-width: 721px) {
+
@media (max-width: 1312px) and (min-width: 721px){
  .page__content,
+
.page__content, .footer__content{
  .footer__content {
+
max-width: 1400px;
    max-width: 1400px;
+
width: 100%;
    width: 100%;
+
padding-left: 60px;
    padding-left: 60px;
+
padding-right: 60px;
    padding-right: 60px;
+
}
  }
+
 
}
 
}
@media (max-width: 768px) {
+
@media (max-width: 768px){
  .page__drawer {
+
.page__drawer{
    width: 100px;
+
width: 100px;
    margin-right: 12px;
+
margin-right: 12px;
  }
+
}
  .page__article {
+
.page__article{
    position: relative;
+
position: relative;
    left: 112px;
+
left: 112px;
  }
+
}
  .page__drawer + .page__article,
+
.page__drawer + .page__article, .story{
  .story {
+
width: calc(100% - 112px);
    width: calc(100% - 112px);
+
}
  }
+
.footer{
  .footer {
+
height: 114px;
    height: 114px;
+
margin-top: 120px;
    margin-top: 120px;
+
}
  }
+
.footer__content{
  .footer__content {
+
padding-bottom: 12px;
    padding-bottom: 12px;
+
padding-top: 24px;
    padding-top: 24px;
+
}
  }
+
.footer__link{
  .footer__link {
+
font-size: .75rem;
    font-size: .75rem;
+
}
  }
+
.footer__link:active, .footer__link:hover, .footer__link:link, .footer__link:visited{
  .footer__link:active,
+
font-size: .75rem;
  .footer__link:hover,
+
}
  .footer__link:link,
+
.footer__made-with-desktop{
  .footer__link:visited {
+
display: none;
    font-size: .75rem;
+
}
  }
+
.footer__made-with-mobile{
  .footer__made-with-desktop {
+
display: inline-block;
    display: none;
+
}
  }
+
#to-top{
  .footer__made-with-mobile {
+
bottom: 3rem;
    display: inline-block;
+
right: 2rem;
  }
+
}
  #to-top {
+
    bottom: 3rem;
+
    right: 2rem;
+
  }
+
 
}
 
}
@media (max-width: 660px) {
+
@media (max-width: 660px){
  .page__article figure table th,
+
.page__article figure table th, .page__article figure table td{
  .page__article figure table td {
+
padding: 0.5em 0.3em;
    padding: 0.5em 0.3em;
+
}
  }
+
.timeline li{
  .timeline li {
+
margin-left: 22px;
    margin-left: 22px;
+
}
  }
+
.timeline li .mdc-card{
  .timeline li .mdc-card {
+
min-width: 240px;
    min-width: 240px;
+
transform: translateX(10px) !important;
    transform: translateX(10px) !important;
+
}
  }
+
.timeline li:nth-child(even) .mdc-card{
  .timeline li:nth-child(even) .mdc-card {
+
left: calc(100% + 36px);
    left: calc(100% + 36px);
+
right: 0;
    right: 0;
+
}
  }
+
.timeline li:nth-child(even) .mdc-card::before{
  .timeline li:nth-child(even) .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;
+
}
  }
+
.page__drawer{
  .page__drawer {
+
display: none;
    display: none;
+
}
  }
+
.page__article{
  .page__article {
+
width: 100% !important;
    width: 100% !important;
+
left: 0;
    left: 0;
+
}
  }
+
#page__drawer-mobile-container{
  #page__drawer-mobile-container {
+
display: table;
    display: table;
+
}
  }
+
 
}
 
}
@media (max-width: 360px) {
+
@media (max-width: 360px){
  .page__content,
+
.page__content, .footer__content{
  .footer__content {
+
padding-left: 12px;
    padding-left: 12px;
+
padding-right: 12px;
    padding-right: 12px;
+
}
  }
+
.footer__links li{
  .footer__links li {
+
margin-left: 6px;
    margin-left: 6px;
+
}
  }
+
.timeline li .mdc-card{
  .timeline li .mdc-card {
+
min-width: 228px;
    min-width: 228px;
+
}
  }
+
 
}
 
}

Revision as of 16:54, 18 October 2017

/* Variable */ /* Function */ .surface{ 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; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section{ display: block; } 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; }

  1. mw-content-text {

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{

display: none; position: fixed; bottom: 1rem; right: 1rem; } .page__content, .footer__content{ max-width: 1312px; padding-left: 16px; padding-right: 16px; margin-left: auto; margin-right: auto; } /* 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 .multi-nav-icon{ position: absolute; right: 16px; top: 0.5em; transition: 0.5s; } .mdc-temporary-drawer .multi-nav-icon-rotate{ transform: rotate(180deg); } .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; } /* Page */ .page__content{ width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin-top: 120px; } .page__article{ height: auto; } .page__drawer{ position: fixed; width: 304px; height: auto; margin-right: 24px; border: 0; } .page__drawer + .page__article, .story{ width: calc(100% - 328px); }

  1. page__drawer-mobile-container{

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

  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; left: 328px; } .page__article .mdc-typography--headline{ border-style: solid; border-width: 0 0 0 8px; border-color: #3f51b5; padding-left: 0.5em; } .page__article .page__article__list{ max-width: 700px; padding: 1em 1em 1em 3em; border: 1px solid rgba(0, 0, 0, 0.1); } .page__article .page__article__list li{ list-style: inherit; } .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 p{ margin-top: 0.5em; margin-bottom: 0; font-weight: 500; text-align: center; } .story{ position: initial; left: 0; max-width: initial; } .story-image{ position: initial; } .page__drawer-list{ padding: 0; font-weight: 500; } .page__drawer-list__link{ display: inline-block; padding: 8px 0; } .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 #3f51b5; padding-bottom: 6px; } .page__drawer-list__link--active{ color: black; font-weight: 600 !important; border-bottom: 1px black solid; } .page__article__citations{ padding: 0; } .page__article__citation__item{ margin-bottom: 1em; color: #4F4F4F; } .team-page{ display: block; } .team-page .mdc-typography--headline{ border-style: solid; border-width: 0 0 0 8px; border-color: #3f51b5; padding-left: 0.5em; } .team-page .page__article__list{ padding: 0 1em 1em 3em; } .team-page .page__article__list li{ list-style: inherit; } .team-cards{ display: -webkit-flex; 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{ 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; } /* HP */ .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: #757de8; border: 18px solid #ff4081; border-radius: 50%; transform: translate(-50%, -50%); transition: 1s; } .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::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-child(odd) .mdc-card{ left: calc(100% + 36px); transform: translateX(200px); } .timeline li:nth-child(odd) .mdc-card::before{ left: -16px; border-width: 8px 16px 8px 0; border-color: transparent #757de8 transparent transparent; } .timeline li:nth-child(even) .mdc-card{ right: 316px; transform: translateX(-200px); } .timeline li:nth-child(even) .mdc-card::before{ right: -16px; border-width: 8px 0 8px 16px; border-color: transparent transparent transparent #757de8; } .timeline .inview::after{ border-width: 0px; } .timeline .inview .mdc-card{ transform: none !important; opacity: 1; } /* 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; -ms-flex-direction: row; flex-direction: row; align-items: center; } .footer__container div{ display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; width: 50%; } .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); } .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: 5rem; } } @media (max-width: 1312px) and (min-width: 721px){ .page__content, .footer__content{ max-width: 1400px; 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__drawer + .page__article, .story{ width: calc(100% - 112px); } .footer{ height: 114px; margin-top: 120px; } .footer__content{ padding-bottom: 12px; padding-top: 24px; } .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: 3rem; right: 2rem; } } @media (max-width: 660px){ .page__article figure table th, .page__article figure table td{ padding: 0.5em 0.3em; } .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; } .footer__links li{ margin-left: 6px; } .timeline li .mdc-card{ min-width: 228px; } }