mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
75 lines
1.3 KiB
SCSS
75 lines
1.3 KiB
SCSS
/*
|
|
NARRATIVE INFO
|
|
*/
|
|
.narrative-info {
|
|
position: fixed;
|
|
top: 10px;
|
|
left: 10px;
|
|
height: auto;
|
|
width: 370px;
|
|
box-sizing: border-box;
|
|
padding: 15px;
|
|
max-height: calc(100% - 250px);
|
|
overflow: auto;
|
|
box-shadow: 0 19px 38px rgba($black, 0.3), 0 15px 12px rgba($black, 0.22);
|
|
background: $black;
|
|
border: 1px solid $midgrey;
|
|
color: $offwhite;
|
|
font-family: 'Merriweather', 'Georgia', serif;
|
|
|
|
h3, h6 {
|
|
text-align: center;
|
|
}
|
|
|
|
h3 {
|
|
font-size: $large;
|
|
font-family: 'Merriweather', 'Georgia', serif;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
font-weight: 100;
|
|
}
|
|
|
|
h6 {
|
|
margin: 10px 0;
|
|
i {
|
|
font-size: $normal;
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-family: 'Lato', 'Helvetica', sans-serif;
|
|
font-size: $normal;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
.actions {
|
|
width: 100%;
|
|
.action {
|
|
width: calc(50% - 5px);
|
|
height: 40px;
|
|
box-sizing: border-box;
|
|
line-height: 40px;
|
|
font-family: 'Lato', 'Helvetica', sans-serif;
|
|
text-align: center;
|
|
display: inline-block;
|
|
|
|
&:not(.disabled) {
|
|
&:hover {
|
|
cursor: pointer;
|
|
transition: 0.2s ease;
|
|
color: $yellow;
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
color: $midgrey;
|
|
cursor: normal;
|
|
}
|
|
|
|
&:first-child {
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|