daspo-free-zone/style.css
2019-08-06 15:15:34 +02:00

322 lines
5 KiB
CSS

:root {
--red-daspo: #f5553d;
--red-daspo-rgb: 245, 100, 61;
}
body,
html {
padding: 0;
margin: 0;
font-family: "IBM Plex Mono", monospace;
position: relative;
}
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: "liga";
}
h1,
h2,
h3 {
font-family: "Black Ops One", cursive;
}
#cover {
width: 100%;
height: 100vh;
background-color: #f5553d;
}
#cover-title {
font-family: "Black Ops One", cursive;
-webkit-text-stroke: 2px #fff;
color: transparent;
font-size: 5rem;
position: relative;
}
#cover-sub-title {
font-family: "IBM Plex Mono", monospace;
font-weight: 700;
-webkit-text-stroke: none;
color: white;
font-size: 1.2rem;
line-height: 1;
margin-top: 0px;
margin-left: 0px;
}
#cover-enter {
font-family: "Black Ops One", cursive;
font-size: 2rem;
line-height: 1;
}
#cover-enter a {
color: white;
margin-bottom: 15px;
}
#author {
display: flex;
align-items: flex-end;
padding-bottom: 15px;
}
#author p {
font-family: "IBM Plex Mono", monospace;
font-size: 1rem;
color: white;
line-height: 1.3;
margin: 0 5px;
text-align: right;
}
#author a {
text-decoration: underline;
}
.intro-text {
font-size: 1.1rem;
margin-top: 35px;
margin-bottom: 35px;
}
.intro-text a,
table a {
color: var(--red-daspo);
}
table a:hover {
color: var(--red-daspo);
}
.navbar-left-container {
position: sticky;
position: -webkit-sticky;
top: 15px;
z-index: 1020;
}
#navbar-left .list-group-item {
background-color: transparent;
border: 1px solid var(--red-daspo);
}
#navbar-left .list-group-item:first-child {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
#navbar-left .list-group-item:last-child {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
#navbar-left .list-group-item.active {
z-index: 2;
color: #212529;
background-color: white;
text-decoration: line-through;
}
#sub-chapters h3 {
margin-bottom: 25px;
padding-top: 25px;
}
#sub-chapters p {
columns: 1;
margin-bottom: 40px;
text-align: left;
}
#container {
width: 100%;
height: 100vh;
position: relative;
}
#map-home {
width: 100%;
height: 70vh;
margin-bottom: 25px;
}
.tomap {
font-weight: 700;
}
.tomap a,
#sub-chapters p a,
.list-previous a {
color: var(--red-daspo);
}
.list-previous {
padding-left: 20px;
}
/* map page */
#map {
height: 60vh;
width: 100%;
}
#table-layers {
font-size: 0.875rem;
}
.back {
position: sticky;
position: -webkit-sticky;
top: 48px;
}
.back a {
color: white;
-webkit-text-stroke: 1px black;
text-decoration: none;
}
.map-overlay {
font: bold 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
position: absolute;
width: 25%;
bottom: 10px;
right: 0;
padding: 10px;
}
.map-overlay .map-overlay-inner {
background-color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
border-radius: 3px;
padding: 10px;
margin-bottom: 10px;
}
.map-overlay label {
display: block;
margin: 0 0 10px;
}
.map-overlay input {
background-color: transparent;
display: inline-block;
width: 100%;
position: relative;
margin: 0;
cursor: ew-resize;
}
#menu {
background: #fff;
border: 1px solid var(--red-daspo);
margin-bottom: 35px;
}
#menu a {
font-size: 13px;
color: #404040;
display: block;
margin: 0;
padding: 0;
padding: 10px;
text-decoration: none;
border-bottom: 1px solid var(--red-daspo);
text-align: center;
}
#menu a:last-child {
border: none;
}
#menu a:hover {
background-color: rgba(var(--red-daspo-rgb), 0.5);
color: #404040;
}
#menu a.active {
background-color: rgba(var(--red-daspo-rgb), 0.9);
color: #ffffff;
}
#menu a.active:hover {
background-color: rgba(var(--red-daspo-rgb), 1);
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
#cover-title {
font-size: 11rem;
}
#cover-sub-title {
font-size: 2.5rem;
line-height: 1;
margin-top: 37px;
margin-left: -49px;
}
#cover-enter {
font-size: 5rem;
}
.intro-text {
font-size: 1.4rem;
}
#sub-chapters p {
columns: 2;
column-gap: 35px;
text-align: justify;
margin-bottom: 75px;
}
#map {
height: 100vh;
}
#table-layers {
font-size: 1rem;
}
#sub-chapters p#firma {
columns: 1;
column-gap: 0 !important;
}
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}