233 lines
No EOL
4 KiB
SCSS
233 lines
No EOL
4 KiB
SCSS
@import "vars";
|
|
|
|
.blog-content {
|
|
padding-right: 0em;
|
|
vertical-align: top;
|
|
margin-right: 0;
|
|
width: 100%;
|
|
|
|
.post {
|
|
border: 1px dotted grey;
|
|
border-radius: 1em;
|
|
border-top: 0.125rem solid #9b9b9b;
|
|
padding: 1.25rem 1.25rem 1.563rem;
|
|
margin-bottom: 2em;
|
|
|
|
.title {
|
|
font-weight: 600;
|
|
font-size: 1.875em;
|
|
|
|
a {
|
|
color: Maroon !important;
|
|
|
|
&:hover {
|
|
color: #c00000 !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
// border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.blog-sidebar {
|
|
width: 100%;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.blog-comment-count {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.blog-comment-icon {
|
|
padding: 0.1em 0.2em 0 0.5em;
|
|
}
|
|
|
|
.blog-comment-count-link {
|
|
color: #555;
|
|
}
|
|
|
|
@media (max-width: 799px) {
|
|
.left-sidebar-header {
|
|
display: none;
|
|
}
|
|
.left-sidebar-item {
|
|
display: inline-block;
|
|
}
|
|
.blog-left-sidebar {
|
|
text-align: right;
|
|
padding-right: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
@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;
|
|
}
|
|
|
|
.blog-content {
|
|
max-width: 71.5%;
|
|
margin-left: 10%;
|
|
}
|
|
|
|
.blog-sidebar {
|
|
width: 18%;
|
|
}
|
|
|
|
.blog-left-sidebar {
|
|
width: 8%;
|
|
margin-right: 1em;
|
|
position: fixed;
|
|
height: 100%;
|
|
margin-top: -4em;
|
|
padding-top: 4em;
|
|
}
|
|
|
|
.feed-table {
|
|
font-size: small;
|
|
}
|
|
}
|
|
|
|
#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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.blog-box {
|
|
border-bottom: 1px solid black;
|
|
width: 90%;
|
|
margin-bottom: 2.5em;
|
|
padding: 0.5em 1.25em;
|
|
background-color: white;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.blog-description {
|
|
max-height: 20em;
|
|
overflow: hidden;
|
|
overflow-wrap: anywhere;
|
|
padding-bottom: 1em;
|
|
}
|
|
.problem-feed-name {
|
|
display: inline;
|
|
font-weight: bold;
|
|
}
|
|
.problem-feed-name a {
|
|
color: #0645ad;
|
|
}
|
|
.problem-feed-info-entry {
|
|
display: inline;
|
|
float: right;
|
|
}
|
|
.problem-feed-types {
|
|
color: gray;
|
|
}
|
|
|
|
.blog-left-sidebar {
|
|
background-color: #f0f1f3;
|
|
color: #616161;
|
|
}
|
|
|
|
.left-sidebar-item {
|
|
padding: 1em 0.5em;
|
|
text-align: center;
|
|
}
|
|
.left-sidebar-item:hover {
|
|
background-color: lightgray;
|
|
cursor: pointer;
|
|
}
|
|
.sidebar-icon {
|
|
font-size: x-large;
|
|
margin-bottom: 0.1em;
|
|
color: black;
|
|
}
|
|
.left-sidebar-header {
|
|
text-align: center;
|
|
padding-bottom: 1em;
|
|
border-bottom: 1px solid black;
|
|
color: black;
|
|
border-radius: 0;
|
|
}
|
|
.feed-table {
|
|
margin: 0;
|
|
} |