nfp_sites/app/article/article.scss

84 lines
1.3 KiB
SCSS

article.article {
padding: 0;
header {
text-align: center;
margin: 20px 20px 0;
padding: 10px;
background: $secondary-bg;
width: 100%;
max-width: 1920px;
align-self: center;
h1 {
color: $secondary-fg;
}
}
.cover {
margin: 0 -10px 20px;
}
.admin-actions {
margin-bottom: 20px;
}
.fr-view {
margin: 0 20px;
padding: 20px 20px 60px;
width: calc(100% - 40px);
max-width: 800px;
flex: 2 0 0;
align-self: center;
background: $newsitem-bg;
border-right: 1px solid #343536;
border-left: 1px solid #343536;
a.cover img {
margin-bottom: 30px;
}
main {
padding: 0 5px;
}
}
.opencomments {
border: none;
align-self: center;
width: calc(100% - 40px);
max-width: 300px;
background: transparent;
font-size: 1.2em;
color: $secondary-dark-bg;
cursor: pointer;
height: 50px;
margin: 0 0 30px;
}
.commentcontainer {
align-self: center;
width: calc(100% - 40px);
max-width: 800px;
margin-bottom: 30px;
min-height: 50px;
position: relative;
}
}
.darkmodeon {
article.article {
header {
background: $dark_secondary-bg;
h1 {
color: $dark_secondary-fg;
}
}
.fr-view {
background: $dark_newsitem-bg;
}
}
}