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

193 lines
2.9 KiB
CSS

body{
--theme-color-primary: white;
--theme-color-secondary: black;
--theme-color-accent: #076cc5;
}
@media screen and (prefers-color-scheme:dark){
body{
--theme-color-primary:black;
--theme-color-secondary:white;
}
}
body{
color:var(--theme-secondary-color);
background-color: var(--theme-primary-color);
display:flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
justify-content: space-evenly;
width:100%;
margin:0;
padding-left:0.25rem;
padding-top:1rem;
overflow-x: hidden;
font-weight: 500;
}
.spacer{
width:3vw;
}
a,a:visited,hr{
color:var(--theme-accent);
}
hr{
width:100%;
color:var(--theme-accent);
margin-top:1rem;
margin-bottom:1rem;
}
iframe,
video,
img,
audio{
max-width:100%;
max-height: 30vh;
margin:1.5rem;
}
audio{
width:80%;
}
#profile{
margin-bottom:1rem;
width: fit-content;
max-width: 80rem;
flex-shrink: none;
}
#profile-details{
display:flex;
flex-direction: column;
align-items: center;
}
#profile-links{
display:flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-around;
}
#profile-links>a{
margin:0.5rem;
}
#posts{
margin-bottom:1rem;
width: fit-content;
display: flex;
flex-direction: column;
align-items: center;
max-width: 40rem;
}
.post{
width:100%;
word-wrap: break-word;
}
#profilephoto{
margin:1rem;
max-width: 10rem;
}
section{
width: 100%;
}
#profile>nav,
#profile>div{
width:100%;
display:flex;
flex-direction: row;
align-items: flex-start;
justify-content:space-evenly;
flex-wrap: wrap;
}
#profile>#details{
flex-direction: column;
}
nav{
display:flex;
flex-direction: row;
align-items: baseline;
justify-content:space-evenly;
flex-wrap: wrap;
}
nav>a{
}
article{
display:flex;
flex-direction: column;
align-items: center;
width:100%;
}
article p,
article h3,
article ul,
article ol,
article table{
text-align: left;
width:100%;
}
article img{
}
blockquote {
margin-left:2rem;
padding-left:1rem;
border-left:0.5rem solid var(--theme-accent);
}
.gallery{
max-width:40vw;
}
audio{
padding:1rem;
}
.post-tags{
display:flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-evenly;
width:80%;
font-weight: bolder;
font-size:1.25rem
}
@media screen and (orientation: portrait){
body{
flex-direction: column;
align-items: center;
justify-content: flex-start;
flex-wrap: none;
padding:0;
font-size:1rem;
}
#profile,#posts{
width:90%;
max-width: 90vw;
}
#profile a>img{
display:flex;
flex-direction: column;
align-items: center;
width:100%;
}
}