Line 24: | Line 24: | ||
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{ |
Revision as of 02:12, 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; }
- 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; }
- to-top{
position: fixed; bottom: 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{ 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; } /* 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); }
- page__drawer-mobile-container{
display: none; position: fixed; top: 56px; left: 0; width: 100%; font-size: 0.8em; z-index: 1; background-color: #5c68db; }
- page__drawer-mobile-container nav{
justify-content: center; }
- 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; } .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; } }