123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- @import './base/reset';
- @import './base/variables';
- @import './base/colors';
- @import './base/grid-flex';
- @import './base/layout';
- @import './base/fonts';
- @import './base/transitions';
- body{
- color: #1a1a1a;
- }
- #root{
- }
- .red{
- background-color: red;
- color:white;
- }
- header[role="banner"]{
- padding:1em;
- pointer-events: none;
- h1{
- font-weight: 400;
- font-size: 1.323em;
- sup{
- background-color: #1a1a1a;
- border-radius: 5px;
- color: #fff;
- padding:0.1em 0.3em;
- font-size: 0.5em;
- }
- }
- h2{
- font-weight: 400;
- font-size: 1em;
- }
- }
- section[role="main-content"]{
- #content{
- position: absolute;
- left: 0; top:0;
- width: 100%; height: 100%;
- background-color: rgba(0, 0, 0, 0.6);
- >.wrapper{
- position: relative;
- margin:5% 20%;
- padding:1em;
- overflow-y: hidden;
- background-color: #fff;
- border-radius: 5px;
- height: 80%;
- box-sizing:border-box;
- }
- >.wrapper{
- display: flex;
- flex-direction: column;
- >header{
- padding:0.5em 0;
- h1{
- font-size: 1.323em;
- font-weight: normal;
- margin: 0
- }
- .close-btn{
- display: block;
- width:1em; height:1em;
- position: absolute;
- top:1em; right:1em;
- background-color: #1a1a1a;
- cursor: pointer;
- text-align: center;
- border-radius: 5px;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- }
- }
- >section{
- overflow-y: auto;
- div.text{
- white-space: pre-wrap;
- font-weight: 300;
- line-height: 1.2;
- }
- img{
- max-width:100%;
- }
- }
- }
- }
- }
- .elevator{
- position: absolute;
- right:0;
- top:43%;
- ul{
- padding:1em;
- background-color: rgba(255, 255, 255, 0.6);
- li{
- padding:0.25em 0;
- text-align: right;
- min-width: 5em;
- cursor: pointer;
- &:hover, &.active{
- font-weight: bold;
- }
- }
- }
- }
|