265 lines
4.2 KiB
SCSS
265 lines
4.2 KiB
SCSS
|
html,
|
||
|
body {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background:
|
||
|
linear-gradient(145deg, rgba(133, 0, 153, 1) 0%, rgba(57, 0, 153, 1) 100%);
|
||
|
min-height: 100vw;
|
||
|
font-size: 1.5rem;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
color: #fff6d5;
|
||
|
font-family: sans-serif;
|
||
|
text-align: center;
|
||
|
// padding-bottom: 80px;
|
||
|
// min-height: 50vh;
|
||
|
// background:
|
||
|
// linear-gradient(145deg, rgba(133, 0, 153, 1) 0%, rgba(57, 0, 153, 1) 100%);
|
||
|
}
|
||
|
|
||
|
.logo {
|
||
|
height: 20em;
|
||
|
}
|
||
|
|
||
|
.burger {
|
||
|
background-color: transparent;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
h1.navbar-item {
|
||
|
font-size: 32px;
|
||
|
align-self: flex-start;
|
||
|
backdrop-filter: blur(10px);
|
||
|
padding-left: 30px;
|
||
|
}
|
||
|
|
||
|
.navbar-start .navbar-item {
|
||
|
background-color: #fff6d5;
|
||
|
margin-left: 20px;
|
||
|
padding-left: 5px;
|
||
|
padding-right: 5px;
|
||
|
}
|
||
|
|
||
|
$link_color: #432054;
|
||
|
$link_hover_color: hsl(280, 55%, 61%);
|
||
|
$link_bg_color: #fff6d5;
|
||
|
$shadow_color: hsl(280, 55%, 61%);
|
||
|
$shadow_color_2: hsl(300, 55%, 61%);
|
||
|
$link_filter: drop-shadow(5px 5px 0 $shadow_color) drop-shadow(5px 5px 0 $shadow_color_2);
|
||
|
$link_select_filter: invert(100%);
|
||
|
|
||
|
.navbar-item:hover {
|
||
|
filter: $link_select_filter;
|
||
|
}
|
||
|
|
||
|
.navbar-menu {
|
||
|
justify-items: center;
|
||
|
}
|
||
|
|
||
|
.navbar a,
|
||
|
.link-container a,
|
||
|
.pagination-item a {
|
||
|
text-decoration: none;
|
||
|
color: $link_color;
|
||
|
}
|
||
|
|
||
|
.out-of-order {
|
||
|
filter: $link_select_filter;
|
||
|
}
|
||
|
|
||
|
.navbar {
|
||
|
font-family: 'Cute Font';
|
||
|
display: flex;
|
||
|
align-items: baseline;
|
||
|
|
||
|
gap: 30px;
|
||
|
filter: $link_filter;
|
||
|
}
|
||
|
|
||
|
.navbar-icon img {
|
||
|
width: 32px;
|
||
|
margin-left: 15px;
|
||
|
}
|
||
|
|
||
|
.footer {
|
||
|
display: inline-block;
|
||
|
flex-shrink: 0;
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
font-size: 12px;
|
||
|
width: 100vw;
|
||
|
user-select: none;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.footer .content {
|
||
|
filter: drop-shadow(0px 0px 6px #000000);
|
||
|
}
|
||
|
|
||
|
.footer-background {
|
||
|
height: 100%;
|
||
|
flex-shrink: 0;
|
||
|
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
width: 100vw;
|
||
|
z-index: -1;
|
||
|
--s: 34px;
|
||
|
--c1: #1c2130;
|
||
|
--c2: hsl(291, 50%, 56%);
|
||
|
// --c2: #b3e099;
|
||
|
|
||
|
--_c: 5%, #0000 75%, var(--c1) 0;
|
||
|
--_g: /var(--s) var(--s) conic-gradient(at var(--_c));
|
||
|
--_l: /var(--s) var(--s) conic-gradient(at 50% var(--_c));
|
||
|
background:
|
||
|
0 calc(7*var(--s)/10) var(--_l),
|
||
|
calc(var(--s)/2) calc(var(--s)/5) var(--_l),
|
||
|
calc(var(--s)/5) 0 var(--_g),
|
||
|
calc(7*var(--s)/10) calc(var(--s)/2) var(--_g),
|
||
|
conic-gradient(at 90% 90%, var(--c1) 75%, var(--c2) 0) 0 0/calc(var(--s)/2) calc(var(--s)/2);
|
||
|
|
||
|
}
|
||
|
|
||
|
.badge-list {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
backdrop-filter: blur(2px);
|
||
|
|
||
|
align-items: center;
|
||
|
padding-left: 10px;
|
||
|
padding-right: 10px;
|
||
|
padding-top: 5px;
|
||
|
padding-bottom: 8px;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.badge {
|
||
|
filter: drop-shadow(5px 5px 0px #000000);
|
||
|
image-rendering: pixelated;
|
||
|
}
|
||
|
|
||
|
.badge:hover {
|
||
|
filter: brightness(120%) drop-shadow(5px 5px 0px hsl(0, 0%, 30%));
|
||
|
transform: scale(1.1) skew(-10deg, 10deg);
|
||
|
}
|
||
|
|
||
|
.posts-list {
|
||
|
padding-bottom: 100px;
|
||
|
}
|
||
|
|
||
|
.link-list {
|
||
|
font-family: 'Cute Font';
|
||
|
display: inline-flex;
|
||
|
flex-direction: column;
|
||
|
|
||
|
gap: 30px;
|
||
|
filter: $link_filter;
|
||
|
}
|
||
|
|
||
|
.pagination-list {
|
||
|
list-style: none;
|
||
|
|
||
|
font-family: 'Cute Font';
|
||
|
display: inline-flex;
|
||
|
flex-direction: row;
|
||
|
|
||
|
gap: 30px;
|
||
|
filter: $link_filter;
|
||
|
}
|
||
|
|
||
|
|
||
|
.link-container {
|
||
|
background-color: #fff6d5;
|
||
|
width: 100%;
|
||
|
padding-left: 3px;
|
||
|
padding-right: 3px;
|
||
|
}
|
||
|
|
||
|
.link-container:hover {
|
||
|
filter: $link_select_filter;
|
||
|
}
|
||
|
|
||
|
.home-body {
|
||
|
display: flex;
|
||
|
columns: 2;
|
||
|
flex-wrap: wrap;
|
||
|
width: 80%;
|
||
|
margin-left: 5%;
|
||
|
margin-right: 5%;
|
||
|
justify-content: space-evenly;
|
||
|
}
|
||
|
|
||
|
.home-column {
|
||
|
margin-left: 5%;
|
||
|
margin-right: 5%;
|
||
|
}
|
||
|
|
||
|
.post-container {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
text-wrap: wrap;
|
||
|
width: 80vw;
|
||
|
margin-left: 10vw;
|
||
|
margin-right: 10vw;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.post-body {
|
||
|
background-color: $link_bg_color;
|
||
|
font-family: 'Cute Font';
|
||
|
filter: $link_filter;
|
||
|
color: $link_color
|
||
|
}
|
||
|
|
||
|
.pagination {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
gap: 20px;
|
||
|
width: 100vw;
|
||
|
}
|
||
|
|
||
|
.pagination-list {
|
||
|
display: flex;
|
||
|
justify-content: left;
|
||
|
flex-direction: row;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
.pagination-list .pagination-item {
|
||
|
background-color: #fff6d5;
|
||
|
padding-left: 3px;
|
||
|
padding-right: 3px;
|
||
|
}
|
||
|
|
||
|
.pagination-item:hover {
|
||
|
filter: $link_select_filter;
|
||
|
}
|
||
|
|
||
|
.scratchpad-tile {
|
||
|
width: 10px;
|
||
|
height: 10px;
|
||
|
background: #fff6d5;
|
||
|
}
|
||
|
|
||
|
.scratchpad-active-tile {
|
||
|
filter: invert(100%);
|
||
|
}
|
||
|
|
||
|
.scratchpad-grid {
|
||
|
display: grid;
|
||
|
|
||
|
grid-template-columns: repeat(32, 1fr);
|
||
|
grid-template-rows: repeat(32, 1fr);
|
||
|
|
||
|
filter: $link_filter;
|
||
|
}
|