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.4 KiB
245 lines
4.4 KiB
@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 {
|
|
color-scheme: dark;
|
|
font-family: "IBM Plex Sans", sans-serif;
|
|
background-color: #181a1a;
|
|
color: #e8e6e3;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
img {
|
|
object-fit: scale-down;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 75%;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a:link,
|
|
a:visited,
|
|
a:hover {
|
|
color: #e8e6e3;
|
|
}
|
|
|
|
.page-header {
|
|
position: relative;
|
|
background-color: #4c4f50;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow-x: scroll;
|
|
padding-top: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
gap: 0.5em;
|
|
|
|
* {
|
|
margin: 0;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
:first-child {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
:last-child {
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.header-separator {
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
|
|
.story-page-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 0.5em;
|
|
.story-page {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
@media (max-width: 900px) {
|
|
flex-direction: column;
|
|
}
|
|
column-gap: 0.5em;
|
|
width: 75%;
|
|
.story-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: flex-start;
|
|
}
|
|
}
|
|
|
|
.story-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
column-gap: 0.25em;
|
|
margin-top: 0.75em;
|
|
}
|
|
}
|
|
|
|
.tag-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
column-gap: 0.25em;
|
|
}
|
|
|
|
.index-content {
|
|
margin-top: 0.5em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 2.5vw;
|
|
margin-right: 2.5vw;
|
|
}
|
|
|
|
.story-content {
|
|
margin-left: 2.5vw;
|
|
margin-right: 2.5vw;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.story-nav {
|
|
text-align: center;
|
|
}
|
|
|
|
.not-found-page {
|
|
margin-top: 0.5em;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.search-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
row-gap: 0.25em;
|
|
div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
div {
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 0.5em;
|
|
|
|
div {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
column-gap: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.search-buttons {
|
|
column-gap: 0.5em;
|
|
input {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.story-list {
|
|
margin-top: 0.5em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 0.75em;
|
|
width: 75%;
|
|
align-items: flex-start;
|
|
@media (max-width: 900px) {
|
|
align-items: center;
|
|
}
|
|
|
|
.listed-story {
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
column-gap: 0.5em;
|
|
@media (max-width: 900px) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: flex-start;
|
|
|
|
@media (max-width: 900px) {
|
|
margin-top: 0.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.favorites-container {
|
|
margin-top: 1em;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
column-gap: 5em;
|
|
justify-content: space-evenly;
|
|
|
|
@media (max-width: 900px) {
|
|
flex-direction: column;
|
|
row-gap: 1em;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.favorite-searches,
|
|
.favorite-stories {
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 0.5em;
|
|
align-items: center;
|
|
}
|
|
|
|
.favorite-search {
|
|
text-decoration: none;
|
|
color: black !important;
|
|
background-color: darkgrey;
|
|
border-radius: 0.375em;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-color: #0f0f0f;
|
|
padding: 0.2em;
|
|
margin-bottom: 0.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
.favorite-story {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
row-gap: 0.25em;
|
|
text-align: center;
|
|
margin-bottom: 0.5em;
|
|
img {
|
|
min-width: 227px;
|
|
width: 227px;
|
|
min-height: 355px;
|
|
height: 355px;
|
|
}
|
|
}
|