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.

213 lines
3.7 KiB

html {
background-color:beige;
font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
a {
&:link,
&:visited,
&:hover {
color: black;
}
}
img {
object-fit: scale-down;
width: auto;
height: auto;
max-width: 75%;
}
h3 {
margin: 0em;
}
.main {
display: flex;
flex-direction: column;
align-items: center;
/* a bit of jank */
input {
border-radius: 0.25em;
}
label {
margin-right: 0.5em;
}
}
.stories {
display: flex;
flex-direction: column;
align-items: center;
a {
color: black;
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 {
position: sticky;
top: 0.5em;
background-color: darkgrey;
width: 100%;
min-height: 2em;
display: flex;
align-items: center;
justify-content: center;
&#storyHeader {
justify-content: flex-start;
}
overflow-x: auto;
overflow-y: auto;
border-radius: 0.5em;
border-style: solid;
border-width: 1px;
border-color:#0f0f0f;
a, p {
&:first-child {
margin-left: 0.5em;
}
&:last-child {
margin-right: 0.5em;
}
&:link,
&:visited,
&:hover {
color: black;
}
display: flex;
text-align: center;
margin-right: 0.5em;
width:fit-content;
}
p {
color: black !important;
}
}
.vertical-line {
border-radius: 0.5em;
border-style: solid;
border-color:#0f0f0f;
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;
}
}
}
}
.favorite-story-button {
margin-top: 0.5em;
margin-right: 0.5em;
}
.saved-container {
display: flex;
flex-direction: row;
flex-grow: 1;
@media (max-width: 650px) {
flex-direction: column;
align-items: center;
div {
align-items: center;
}
}
}
.saved-child {
.story {
flex-direction: column;
align-items: center;
div {
align-items: center;
}
}
.saved-search {
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: start;
margin-left: 0.5em;
div {
flex-direction: column;
}
}
margin-top: 1em;
width: 75%;
}