mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
470372db21
Tweak colour brightnesses
193 lines
No EOL
2.2 KiB
SCSS
193 lines
No EOL
2.2 KiB
SCSS
/*
|
|
Articles
|
|
*/
|
|
|
|
div.article {
|
|
@include span-columns(12);
|
|
border-bottom: 3px solid $light-gray;
|
|
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;
|
|
}
|
|
|
|
&.preview {
|
|
@include span-columns(12);
|
|
border-radius: $base-border-radius;
|
|
background: white;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
box-shadow: $light-shadow;
|
|
border: 0;
|
|
|
|
.content {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 0 .5em 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
table.articles.archive {
|
|
|
|
.title {
|
|
width: 50%;
|
|
}
|
|
|
|
.date {
|
|
width: 20%;
|
|
}
|
|
|
|
.author {
|
|
width: 20%;
|
|
}
|
|
}
|
|
|
|
/*
|
|
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;
|
|
}
|
|
} |