133 lines
2.3 KiB
SCSS
133 lines
2.3 KiB
SCSS
@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;
|
|
cursor: pointer;
|
|
h2{
|
|
font-weight: 500;
|
|
font-size: 1em;
|
|
margin:0;
|
|
}
|
|
h1{
|
|
font-weight: 400;
|
|
font-size: 1.323em;
|
|
margin:0.5em 0;
|
|
sup{
|
|
background-color: #1a1a1a;
|
|
border-radius: 5px;
|
|
color: #fff;
|
|
padding:0.2em 0.5em 0.05em 0.5em;
|
|
font-size: 0.4em;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
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%;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
.modale-title{
|
|
position: absolute;
|
|
padding:0.5em;
|
|
margin: 0 0.5em 0.5em 0;
|
|
background-color: rgba(255,255,255,0.6);
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
|
|
.elevator{
|
|
position: absolute;
|
|
right:0;
|
|
top:43%;
|
|
ul{
|
|
padding:1em;
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
border-radius: 3px;
|
|
li{
|
|
padding:0.25em 0;
|
|
text-align: right;
|
|
min-width: 4em;
|
|
cursor: pointer;
|
|
&:hover, &.active{
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|