website/assets/sass/general.scss

272 lines
4.6 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;
line-height: 1.5;
}
* {
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
2023-07-05 12:31:16 +00:00
.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
}
/**
General Layout
**/
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
.soft-flex {
display: flex;
gap: 2rem;
}
.special-entract {
border: 1px solid $tertiary;
border-left: 1rem solid $tertiary;
padding: 1rem;
}
.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;
}
}
.single-figure-container {
display: flex;
justify-content: center;
}
.highlighted {
font-size: 2rem;
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;
}
.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
}
.icon-twitter {
fill: lighten(#0C72B7, 20%) !important;
}
2024-03-24 23:45:18 +00:00
.icon-instagram {
fill: #FDB9D6 !important;
}
.icon-mastodon {
fill: lighten(#5C4CE2, 20%) !important;
}
.icon-youtube {
fill: lighten(#FF1A1A, 15%) !important;
}
.icon-facebook {
fill: lighten(#0866FF, 20%) !important;
}
.content-with-side-menu {
// display: grid;
// grid-template-columns: 1fr 1fr 1fr 1fr;
// margin: 0 auto;
// width: 85%;
// display: grid;
// grid-template-columns: 20rem 1fr;
// column-gap: 3rem;
position: relative;
.side-menu__container {
position: sticky;
top: 7rem;
left: 5rem;
width: 25rem;
height: 0;
}
.side-menu {
}
}
.sticky-nav {
position: sticky;
top: 7rem;
background: white;
2024-03-10 22:27:47 +00:00
border: 1px solid $background-secondary;
ul {
display: flex;
justify-content: space-between;
align-items: stretch;
list-style-type: none;
padding: 0;
margin: 0;
height: 100%;
li {
width: 100%;
2024-03-10 22:27:47 +00:00
height: 100%;
margin: 0;
2024-03-10 22:27:47 +00:00
padding: 0;
border: 1px solid $background-secondary;
2024-03-10 22:27:47 +00:00
display: flex;
align-items: center;
a {
color: black;
text-decoration: none;
width: 100%;
height: 100%;
padding: .5rem 1rem;
transition: 0.2s all;
}
a:hover {
background-color: rgba(0, 0, 0, 0.2);
}
}
}
}
@media (max-width: $md-breakpoint) {
.sticky-nav {
ul {
flex-direction: column;
}
}
}