html {
font-family:sans-serif;
color:#080808;
overflow-y: scroll;
height: 100%;
font: 100%/1.5 sans-serif;
word-wrap: break-word;
margin: 0 auto;
padding: 1.5em;
background: #f5c944;
}
body {
margin:0 auto;
padding:1rem;
background: #f6f1ec;
color: black;
font-size: 20px;
line-height: 130%;
}
@media (min-width: 768px) {
html {
font-size: 125%;
max-width: 48em;
}
}
/* Images */
.figure {
display: inline;
max-width: 48em;
text-align: center;
font-size: 18px;
font-style: italic;
margin: 10px;
}
.figure img {
max-width: 100%; /* Scales down to fit the container, but won't stretch larger than the original image */
height: auto; /* Keeps the aspect ratio perfect and prevents distortion */
}
.figure-number {
display: none;
}
.sideleft {
text-align: left;
}
/* footer */
.container {
padding:none;
margin: none;
/* text-align: center; */
background: #f4c430;
}
.container pre {
display: inline;
justify-content: space-between;
}
main {
grid-area: main;
}
footer {
margin-top:2rem;
text-align:center;
font-size:.8rem;
color:#333
padding-top: 2em;
grid-area: footer;
}
h1 {
color: indigo;
text-decoration: none;
text-align: center;
}
h2 a {
color: indigo;
text-decoration: none;
}
h2 {
color: indigo;
}
h3 {
color: indigo;
}
a:link {
color: #e34234;
text-decoration: none;
}
a:visited {
color: #e34234;
text-decoration: none;
}
a:hover {
color: #40826d;
}
header a:link {
color: #f6f1ec;
text-decoration: none;
}
header a:visited {
color: #f6f1ec;
text-decoration: none;
}
header a:hover {
color: #e34234;
}
pre {
max-width: 50%;
color: indigo;
}
/* Random quote JS class */
.output {
display: flex;
align-items: center;
justify-content: space-between;
}
.output a {
font-size: 16px;
font-style: italic;
text-align: center;
color: grey;
}
/* Tooltip container */
.tooltip {
position: relative;
display: flex;
border-bottom: 1px dotted black; /* Add dots under the hoverable text */
cursor: pointer;
}
/* Tooltip text */
.tooltiptext {
font-size: 16px;
visibility: hidden; /* Hidden by default */
width: 130px;
background-color: black;
color: #f6f1ec;
text-align: center;
padding: 5px 0;
border-radius: 6px;
position: absolute;
z-index: 1; /* Ensure tooltip is displayed above content */
top: -5px;
left: 105%;
}
/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
visibility: visible;
}
/* TOP BAR */
header {
padding:1rem;
background: indigo;
display: flex;
font-size: 22px;
justify-content: space-between;
}
header .headertitle{
font-style: italic;
text-align: center;
color: #f6f1ec;
}
header nav {
display: flex;
align-items: center;
justify-content: space-between;
}
header a {
display: flex;
align-items: center;
justify-content: center;
}
header a + a {
display: flex;
align-items: center;
justify-content: space-between;
margin-left: 1rem;
}
header a + div {
align-items: center;
justify-content: space-between;
margin-left: 1rem;
}
@media(max-width:720px) {
html {
font-size: 100%;
max-width: 48em;
}
header nav {
flex-direction: column;
}
.figure img {
max-width: 100%;
height: auto;
}
}
/* ARTICLE LIST */
.posts {
margin: 0;
list-style: none;
}
.posts .post a {
display: flex;
padding: 0.5em 0;
color: black;
}
.posts .post a:hover, .posts .post a:focus, .posts .post a:active {
text-decoration: none;
background: rgba(200, 200, 200, 0.2);
}
.posts .post date {
vertical-align: middle;
padding-right: 2rem;
color: grey;
}
/* VALIDATION FORMAT */
.status {
text-align: center;
font-size: 16px;
}
/* GPX map with leaflet */
.leaflet-container {
max-width: 100%;
}