website/assets/sass/general.scss

200 lines
3.2 KiB
SCSS
Raw Normal View History

2023-07-06 20:54:55 +00:00
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:wght@400;700&family=Roboto:wght@300;400;500&display=swap');
2023-03-31 22:14:22 +00:00
.serif-font {
2023-07-05 12:31:16 +00:00
font-family: 'Bona Nova', serif;
}
2023-03-31 22:14:22 +00:00
2022-09-28 21:43:45 +00:00
body {
// font-family: 'Trebuchet MS', Tahoma,sans-serif;
2022-10-14 18:56:56 +00:00
// font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
2023-03-31 22:14:22 +00:00
// font-family: "Open Sans","Segoe UI",HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
font-family: 'Roboto', sans-serif;
2023-06-23 21:20:22 +00:00
font-weight: 400;
margin: 0;
2023-05-21 20:40:07 +00:00
font-size: 17px;
2023-03-31 22:14:22 +00:00
line-height: 1.6;
}
* {
box-sizing: border-box;
}
2023-03-31 22:14:22 +00:00
h1, h2, h3, .title {
font-family: 'Bona Nova', serif;
}
h1 {
2023-03-31 22:14:22 +00:00
font-size: 3rem;
color: $secondary;
margin-top: 3rem;
margin-bottom: 1rem;
}
h2 {
2023-03-31 22:14:22 +00:00
font-size: 1.75rem;
color: $secondary;
}
a {
color: darken($accent, 6%);
}
2023-03-31 22:14:22 +00:00
a:hover {
opacity: 0.8;
2022-09-28 21:43:45 +00:00
}
2022-10-14 18:56:56 +00:00
.secondary-bg {
2023-07-05 12:31:16 +00:00
h2 {
color: white;
}
a {
color: white;
}
color: white;
.button {
background-color: $background-secondary;
color: white;
&:hover {
background-color: lighten($background-secondary, 14%);
}
}
background-color: darken($background-secondary, 15%);
}
.separation-section {
2023-07-05 12:31:16 +00:00
margin-top: 3rem;
padding: 1.2rem 0;
}
.w-100 {
width: 100px;
}
.w-200 {
width: 200px;
}
2023-07-06 20:21:40 +00:00
.h-100 {
height: 100%;
}
.mr-1 {
margin-right: 1rem;
}
2023-07-05 12:31:16 +00:00
img {
max-width: 100%;
2024-01-11 07:56:12 +00:00
object-fit: contain;
2023-07-05 12:31:16 +00:00
}
.grid {
display: grid;
}
.grid-2 {
grid-template-columns: 1fr 1fr;
}
2023-07-06 20:21:40 +00:00
.wikipedia-btn {
margin-top: .5rem;
display: inline-flex;
justify-content: flex-start;
flex-direction: row;
align-items: center;
max-height: 10rem;
padding: 1.5rem;
border: 1px solid rgba(0, 0, 0, 0.1);
// background: linear-gradient(to right, rgb(17, 17, 17), rgb(255, 255, 255));
background: rgba(255, 255, 255, 1);
color: black;
border-radius: 5px;
box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.5);
.btn__icon {
width: 4rem;
margin-right: 2rem;
}
}
.wikipedia-icon {
aspect-ratio: 1;
}
.btn__icon {
display: flex;
justify-content: center;
align-items: center;
}
.icon_inline {
width: 1rem;
height: 1rem;
}
.double-figures {
display: grid;
grid-template-columns: 1fr 1fr;
figure {
margin: 1rem;
margin-bottom: 2rem;
figcaption {
p { margin: 0;}
}
}
}
@media (max-width: $md-breakpoint) {
.double-figures {
grid-template-columns: 1fr;
}
}
.fig-img {
figcaption {
font-size: .9rem;
color: $hidden;
}
}
.highlighted {
font-weight: bold;
}
2023-09-24 12:26:01 +00:00
.geocaching-instructions {
.download-links {
img {
width: 100px;
}
}
}
2024-01-10 18:07:03 +00:00
.end-action-container {
display: flex;
justify-content: flex-end;
padding-bottom: 1.5rem;
2024-01-11 07:56:39 +00:00
padding-top: 1rem;
}
figure {
display: flex;
justify-content: center;
flex-direction: column;
}
.layout-two-spaced {
display: flex;
justify-content: space-between;
padding: 1.5rem 0;
}
@media (max-width: $md-breakpoint) {
.layout-two-spaced {
display: block;
}
2024-01-10 18:07:03 +00:00
}