mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-31 23:10:44 +00:00
167 lines
No EOL
1.9 KiB
SCSS
167 lines
No EOL
1.9 KiB
SCSS
/*
|
|
Articles
|
|
*/
|
|
|
|
div.article {
|
|
@include span-columns(12);
|
|
border-bottom: 1px solid rgba(35, 35, 35, 0.1);
|
|
padding-bottom: 20px;
|
|
|
|
h1 {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.content {
|
|
@include span-columns(12);
|
|
margin-bottom: 40px;
|
|
|
|
ul {
|
|
@extend ul.disc;
|
|
}
|
|
}
|
|
|
|
.author {
|
|
@include span-columns(6);
|
|
|
|
a {
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
.comments {
|
|
@include span-columns(6);
|
|
@include omega;
|
|
text-align: right;
|
|
|
|
.fa {
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
.actions {
|
|
@include span-columns(12);
|
|
@include omega;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
&:first-child {
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.article-links {
|
|
@include span-columns(12);
|
|
|
|
.previous {
|
|
@include span-columns(6);
|
|
|
|
.fa {
|
|
padding-right: 10px;
|
|
}
|
|
}
|
|
|
|
.next {
|
|
@include span-columns(6);
|
|
@include omega;
|
|
text-align: right;
|
|
|
|
.fa {
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
Article Form
|
|
*/
|
|
|
|
form.article {
|
|
|
|
h4 {
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
.files {
|
|
|
|
.files-list {
|
|
margin: 20px 0 40px;
|
|
}
|
|
|
|
form {
|
|
@include span-columns(12);
|
|
margin: 20px 0;
|
|
|
|
.fields {
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
Articles Page
|
|
*/
|
|
|
|
#articles {
|
|
@include span-columns(12);
|
|
|
|
h3 {
|
|
@include span-columns(12);
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.article-list {
|
|
@include span-columns(12);
|
|
margin-bottom: 10px;
|
|
|
|
.new {
|
|
@extend .highlight;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.title {
|
|
@include span-columns(6);
|
|
}
|
|
|
|
.meta {
|
|
@include span-columns(6);
|
|
@include omega;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.button.new {
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
/*
|
|
Admin Articles Page
|
|
*/
|
|
|
|
div.admin.articles {
|
|
|
|
.title {
|
|
width: 40%;
|
|
}
|
|
|
|
.category {
|
|
width: 20%;
|
|
}
|
|
|
|
.created {
|
|
width: 20%;
|
|
}
|
|
|
|
.author {
|
|
width: 10%;
|
|
}
|
|
|
|
.actions {
|
|
width: 10%;
|
|
text-align: right;
|
|
}
|
|
} |