mirror of
https://github.com/10h30/ycb.vn.git
synced 2026-06-05 15:10:02 +09:00
257 lines
4.2 KiB
SCSS
257 lines
4.2 KiB
SCSS
/* ## Entries
|
|
--------------------------------------------- */
|
|
|
|
.entry {
|
|
background-color: $white;
|
|
.single & {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
.entry-title {
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.entry-content {
|
|
@include clearfix;
|
|
p {
|
|
color: $gray;
|
|
.blog &,
|
|
.archive & {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
ol,
|
|
ul {
|
|
margin-bottom: 1em;
|
|
margin-left: 4rem;
|
|
}
|
|
ol>li {
|
|
list-style-type: decimal;
|
|
}
|
|
ul>li {
|
|
list-style-type: disc;
|
|
}
|
|
ol ol,
|
|
ul ul {
|
|
margin-bottom: 0;
|
|
}
|
|
li li {
|
|
list-style-type: circle;
|
|
}
|
|
code {
|
|
background-color: $light;
|
|
display: block;
|
|
padding: 1rem 2rem;
|
|
border: $site-border;
|
|
margin-top: 1em;
|
|
border-radius: $site-radius;
|
|
}
|
|
>*:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.entry-image-link {
|
|
display: block;
|
|
margin-bottom: 1em;
|
|
img {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.featured-image {
|
|
display: block;
|
|
margin: 0 0 3rem;
|
|
.single & {
|
|
@include breakpoint(sm) {
|
|
margin: 0 0 4rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.entry-footer {
|
|
.single & {
|
|
padding: 3rem 0 0;
|
|
}
|
|
}
|
|
|
|
/* ## Entry Meta
|
|
--------------------------------------------- */
|
|
|
|
p.entry-meta {
|
|
font-size: 1.2rem;
|
|
font-family: $font-heading;
|
|
font-weight: $bolder;
|
|
text-transform: uppercase;
|
|
.entry-header & {
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
|
|
.entry-categories,
|
|
.entry-tags {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/* ## Pagination
|
|
--------------------------------------------- */
|
|
|
|
.pagination {
|
|
margin: 5vw 0 10vw;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
@include clearfix;
|
|
@include breakpoint(md) {
|
|
margin: 4rem 0 0;
|
|
order: 3;
|
|
.content-sidebar &,
|
|
.sidebar-content & {
|
|
width: calc(75% - 4rem);
|
|
}
|
|
}
|
|
}
|
|
|
|
.adjacent-entry-pagination {
|
|
margin: 0;
|
|
padding: 4rem 0;
|
|
background-color: $light;
|
|
font-family: $font-heading;
|
|
font-size: 1.4rem;
|
|
text-transform: uppercase;
|
|
font-weight: $bolder;
|
|
@include breakpoint(md) {
|
|
margin: 0;
|
|
}
|
|
a {
|
|
color: $gray;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.archive-pagination {
|
|
ul {
|
|
display: flex;
|
|
}
|
|
li {
|
|
margin: 0 0.25em 0 0;
|
|
}
|
|
a {
|
|
background-color: $white;
|
|
color: $dark;
|
|
font-size: 1.6rem;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: $site-radius;
|
|
text-decoration: none;
|
|
display: block;
|
|
@include transition;
|
|
}
|
|
a:hover,
|
|
.active a {
|
|
background-color: $accent;
|
|
color: $white;
|
|
box-shadow: 0 1rem 1rem -0.5rem rgba($dark,0.15);
|
|
}
|
|
}
|
|
|
|
|
|
/* ## Comments
|
|
--------------------------------------------- */
|
|
|
|
.comment-respond,
|
|
.entry-comments,
|
|
.entry-pings {
|
|
background-color: #fff;
|
|
font-size: 1.6rem;
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
.comment-respond {
|
|
.form-submit {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.comment-list {
|
|
li {
|
|
padding: 4rem 0 0 5vw;
|
|
}
|
|
.depth-1 {
|
|
padding-left: 0;
|
|
}
|
|
.comment-respond {
|
|
padding: 0 0 0 1em;
|
|
}
|
|
>.comment-respond {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.comment-header {
|
|
margin-bottom: 5vw;
|
|
@include breakpoint(sm) {
|
|
margin-bottom: 2em;
|
|
}
|
|
p {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.comment-edit-link {
|
|
padding-left: calc(4.8rem + 1em);
|
|
.entry-pings & {
|
|
padding: 0;
|
|
clear: both;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.comment-reply-link {
|
|
display: block;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.comment-meta {
|
|
padding-left: calc(4.8rem + 1em);
|
|
word-break: break-all;
|
|
.entry-pings & {
|
|
padding: 0 0 1em;
|
|
}
|
|
}
|
|
|
|
.comment-content {
|
|
clear: both;
|
|
ul>li {
|
|
list-style-type: disc;
|
|
}
|
|
p {
|
|
margin-bottom: 0.618em;
|
|
}
|
|
}
|
|
|
|
.comment-respond {
|
|
input[type="email"],
|
|
input[type="text"],
|
|
input[type="url"] {
|
|
@include breakpoint(xl) {
|
|
width: 50%;
|
|
}
|
|
label {
|
|
display: block;
|
|
margin-right: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.entry-pings .reply {
|
|
display: none;
|
|
}
|
|
|
|
.pingback:last-of-type p {
|
|
margin-bottom: 0;
|
|
} |