NDOJ/resources/blog.scss

138 lines
2.3 KiB
SCSS
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
@import "vars";
.blog-content {
padding-right: 0em;
flex: 73.5%;
vertical-align: top;
margin-right: 0;
.post {
2020-06-12 15:48:44 +00:00
border: 1px dotted grey;
border-radius: 1em;
border-top: 0.125rem solid #9b9b9b;
padding: 1.25rem 1.25rem 1.563rem;
margin-bottom: 2em;
2020-01-21 06:35:58 +00:00
.title {
font-weight: 600;
2020-06-12 15:48:44 +00:00
font-size: 1.875em;
2020-01-21 06:35:58 +00:00
a {
2020-03-16 07:56:55 +00:00
color: Maroon !important;
2020-01-21 06:35:58 +00:00
&:hover {
2020-03-16 07:56:55 +00:00
color: #c00000 !important;
2020-01-21 06:35:58 +00:00
}
}
}
&:last-child {
2020-06-12 15:48:44 +00:00
// border-bottom: none;
2020-01-21 06:35:58 +00:00
}
}
}
.blog-sidebar {
flex: 26.5%;
}
.blog-sidebox {
h3 {
padding-bottom: 0.25em;
padding-left: 0.5em;
}
ul {
list-style: none;
padding-left: 1em;
padding-right: 0.5em;
li {
margin-bottom: 0.75em;
}
}
.contest {
padding: 1.25em 0 1.5em 0;
text-align: center;
border-bottom: 1px solid $border_gray;
&:last-child {
border-bottom: none;
}
.name {
font-size: 1.25em;
font-weight: 500;
a {
color: #5b80b9 !important;
&:hover {
color: #0645ad !important;
}
}
}
}
}
2020-12-28 05:45:58 +00:00
.blog-comment-count {
font-size: 12px;
}
.blog-comment-icon {
padding: 0.1em 0.2em 0 0.5em;
}
.blog-comment-count-link {
color: #555;
}
2020-01-21 06:35:58 +00:00
@media (min-width: 800px) {
.blog-content, .blog-sidebar {
display: block !important;
}
.blog-content {
margin-right: 1em !important;
}
#mobile.tabs {
display: none;
}
#blog-container {
display: flex;
}
}
#mobile.tabs {
margin: 0;
margin-bottom: 1em;
}
.rssatom {
text-align: right;
padding: 0.25em;
display: block;
span {
width: 1em;
height: 1em;
padding: 0.1em;
font-size: 0.8em;
color: white;
border-radius: 0.2em;
display: inline-block;
margin-right: 0.2em;
border: 1px solid rgb(201, 90, 18);
background: #fb9e39;
background: linear-gradient(135deg, #e46d27 0, #fb9e39 47%, #e46d27 100%);
i {
text-align: center;
display: block;
}
}
}