You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

245 lines
4.3 KiB

// no god (even fictional) can save you after you look at this (s)css file
// checkmate atheists
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
html {
background-color: #181a1a;
color: #e8e6e3;
font-family: "IBM Plex Sans", sans-serif;
color-scheme: dark;
}
p[data-p-id] {
overflow-wrap: anywhere;
}
a {
&:link,
&:visited,
&:hover {
color: #e8e6e3;
}
}
img {
object-fit: scale-down;
width: auto;
height: auto;
max-width: 75%;
}
h3 {
margin: 0em;
}
.main {
display: flex;
flex-direction: column;
align-items: center;
input {
border-radius: 0.25em;
}
label {
margin-right: 0.5em;
}
}
.stories {
display: flex;
flex-direction: column;
align-items: center;
a {
color: #e8e6e3;
border: none;
outline: none;
text-decoration: none;
&:link,
&:visited,
&:hover {
color: inherit;
}
}
}
.story {
display: flex;
flex-direction: row;
div {
display: flex;
flex-direction: column;
align-items: start;
margin-left: 0.5em;
}
margin-top: 1em;
width: 75%;
@media (max-width: 650px) {
flex-direction: column;
align-items: center;
div {
align-items: center;
}
}
}
.pagenav {
margin-top: 1em;
display: flex;
flex-direction: row;
}
.header {
top: 0.5em;
background-color: #4c4f50;
width: 100%;
min-height: 2em;
display: flex;
align-items: center;
justify-content: center;
position: sticky;
&#storyHeader {
justify-content: flex-start;
position: relative;
}
overflow-x: auto;
overflow-y: auto;
border-radius: 0.5em;
border-style: solid;
border-width: 1px;
border-color: #877d6f;
a,
p {
&:first-child {
margin-left: 0.5em;
}
&:last-child {
margin-right: 0.5em;
}
&:link,
&:visited,
&:hover {
color: #e8e6e3;
}
display: flex;
text-align: center;
margin-right: 0.5em;
width: fit-content;
}
p {
color: #e8e6e3 !important;
}
}
.vertical-line {
border-radius: 0.5em;
border-style: solid;
border-color: #877d6f;
margin-right: 0.5em;
height: 100%;
}
.search-form {
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
div {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
@media (max-width: 560px) {
flex-direction: column;
div {
flex-direction: row;
margin-top: 0.5em;
margin-bottom: 0.25em;
}
}
}
input,
button,
div > input {
&[type="radio"] {
}
color: #e8e6e3;
border-color: #877d6f;
background-color: #2b2a33;
}
}
.favorite-story-button {
margin-top: 0.5em;
margin-right: 0.5em;
}
.saved-container {
display: flex;
flex-direction: row;
row-gap: 5em;
flex-grow: 1;
@media (max-width: 650px) {
flex-direction: column;
align-items: center;
div {
align-items: center;
}
}
:first-child {
padding-right: 0.5em;
}
:last-child {
padding-left: 0.5em;
}
}
.saved-child {
.story {
flex-direction: column;
align-items: center;
div {
align-items: center;
}
}
.saved-search {
color: black !important;
background-color: darkgrey;
border-radius: 0.5em;
border-style: solid;
border-width: 1px;
border-color: #0f0f0f;
padding: 0.2em;
margin-bottom: 0.5em;
}
}
.detail-buttons {
display: flex;
flex-direction: row;
}
.userprofile {
display: flex;
flex-direction: column;
align-items: center;
div {
display: flex;
flex-direction: row;
align-items: center;
margin-left: 0.5em;
div {
flex-direction: column;
}
}
margin-top: 1em;
width: 75%;
}