valor/static/css/theme.css
2022-08-17 14:47:54 -04:00

128 lines
No EOL
1.8 KiB
CSS

body{
--theme-primary-color:black;
--theme-secondary-color: white;
--theme-accent:rgb(29, 148, 196);
--theme-accent2:gold;
--theme-accent3:rgb(211, 43, 43);
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:100vw;
margin:0;
padding:0;
overflow-x: hidden;
}
a,a:visited,hr{
color:var(--theme-accent2);
}
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;
}
#profile{
padding:1rem;
margin-bottom:1rem;
min-width: 20vw;
}
#posts{
padding:1rem;
margin-bottom:1rem;
min-width: 20vw;
}
#profile{
max-width:50rem;
}
#posts{
width:40vw;
}
.post{
padding:1rem;
}
#post>img
#profile{
display:flex;
flex-direction: column;
}
#profilephoto{
margin:1rem;
max-width: 10rem;
}
#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;
}
nav>a{
margin:1.5rem;
}
@media screen and (orientation: portrait){
body{
flex-direction: column;
font-size:1rem;
}
#profile,#posts{
max-height: none;
width:92vw;
overflow-y:initial;
}
}
article{
display:flex;
flex-direction: column;
align-items: center;
}
article p,
article h3,
article ul,
article ol,
article table{
text-align: left;
width:100%;
}
article img{
}