This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
Nodezzarella/public/assets/css/article.scss

92 lines
1.7 KiB
SCSS
Executable File

section {
display: flex;
flex-direction: column;
nav {
align-self: center;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 80%;
.separator {
width: 200px;
}
button{
display: flex;
align-items: center;
justify-content: space-between;
background: transparent;
border: none;
color: black;
font-family: Roboto;
font-size: 15pt;
font-style: italic;
font-weight: 300;
padding: 10px;
border-radius: 5px;
transition: background 0.2s, color 0.2s;
img{
height: 25px;
filter: brightness(0);
transition: filter 0.2s;
}
}
button.prev{
img{
margin-right: 10px;
}
}
button.next{
img{
margin-left: 10px;
}
}
button:hover{
background: #111;
color: white;
img{
filter: brightness(1);
}
}
button:active{
outline: none;
}
}
article {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 40px;
.articleTitle{
width: 80%;
h1 {
font-size: 35pt;
font-family: Roboto;
font-weight: bold;
margin: 0;
word-wrap: break-word;
hyphens: auto;
}
.author {
font-style: italic;
margin-top: 10px;
font-size: 17pt;
}
}
.content {
max-width: 80%;
p {
font-family: "Century Schoolbook L";
font-weight: normal;
line-height: 30pt;
font-size: 16pt;
word-wrap: break-word;
hyphens: auto;
}
a{
text-decoration:underline;
}
}
}
}