joyce/src/stylesheets/_reader.scss
2018-12-26 11:06:49 -07:00

55 lines
879 B
SCSS

@import "variables";
@import "mixin";
#reader_container {
height: 100%;
overflow-y: auto;
background-color: rgba(256,256,256,.8);
box-shadow: 2px 5px 10px 1px rgba(0, 0, 0, 0.3);
padding: 3% 8%;
border: 1px solid $border_color;
border-radius: 5px;
font-size: 0.8em;
cursor: default;
&.annotations a {
cursor: pointer;
animation-duration: 1s;
animation-name: fadeIn;
animation-fill-mode: both;
}
&.hidden_annotations a {
color: black !important;
text-decoration: none;
cursor: default;
pointer-events: none;
}
h2 {
text-align: center;
}
h3 {
text-align: center;
}
h4 {
text-align: center;
}
}
@keyframes fadeIn {
from {
color: black;
text-decoration: none;
}
to {
border-radius: 3px;
}
}
// Media queries
@include respond-below(sm) {
#reader_container {
border: none;
}
}