FCDM-website-new/wp-content/themes/studio-pro/assets/styles/_content.scss

288 lines
5.2 KiB
SCSS

/* ## Entries
--------------------------------------------- */
.entry {
background-color: $white;
margin-bottom: 5vw;
padding: 6vw 3vw;
@include breakpoint(sm) {
padding: 4rem 6rem;
margin-bottom: 4rem;
}
&:last-of-type {
margin-bottom: 0;
}
> img {
margin-bottom: 4rem;
}
}
.entry-content {
@include clearfix;
ol,
ul {
margin-bottom: 1em;
margin-left: 4rem;
.error404 & {
margin-bottom: 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;
font-size: 1.6rem;
}
input,
select,
textarea {
margin-bottom: 1em;
}
>*:last-child {
margin-bottom: 0;
}
}
.entry-image-link {
display: block;
margin-bottom: 1em;
img {
display: block;
}
}
/* ## Entry Meta
--------------------------------------------- */
p.entry-meta {
font-size: 1.6rem;
margin-bottom: 0.618em;
color: $gray;
font-weight: $bolder;
font-size: 0.618em;
.entry-header & {
margin-bottom: 1em;
}
.single & {
padding-bottom: 1.618em;
font-family: $font-heading;
}
}
.entry-categories,
.entry-tags {
display: block;
}
.entry-author-name {
text-transform: capitalize;
}
.entry-footer {
border-top: $site-border;
margin-top: 5vw;
padding-top: 5vw;
@include breakpoint(sm) {
margin-top: 4rem;
padding-top: 4rem;
}
}
/* ## Pagination
--------------------------------------------- */
.pagination {
margin: 5vw 0;
width: 100%;
@include clearfix;
@include breakpoint(md) {
margin: 4rem 0 0;
}
}
.adjacent-entry-pagination {
margin-bottom: 0;
b {
border: $site-border;
border-radius: $site-radius;
padding: 0 2em;
display: flex;
align-items: center;
justify-content: space-between;
line-height: 1;
font-size: small;
font-weight: $bolder;
box-shadow: 0 1.5rem 1rem -0.5rem rgba($dark,0.1);
@include transition;
&:hover {
box-shadow: 0 1rem 1rem -1rem rgba($dark,0.1);
}
}
a {
color: $dark;
text-decoration: none;
margin: 0 1rem;
padding: 1em 0;
}
}
.archive-pagination {
display: flex;
justify-content: center;
ul {
display: flex;
justify-content: center;
width: auto;
margin: 0 auto;
box-shadow: 0 1.5rem 1rem -0.5rem rgba($dark,0.1);
@include transition;
&:hover {
box-shadow: 0 0.5rem 1rem -0.5rem rgba($dark,0.15);
}
}
li {
margin: 0;
border: $site-border;
border-right: 0;
&:first-of-type,
&:first-of-type a {
border-top-left-radius: $site-radius;
border-bottom-left-radius: $site-radius;
}
&:last-of-type {
border-right: $site-border;
border-top-right-radius: $site-radius;
border-bottom-right-radius: $site-radius;
}
&:last-of-type a {
border-top-right-radius: $site-radius;
border-bottom-right-radius: $site-radius;
}
}
a {
background-color: transparent;
color: $dark;
font-size: 1.4rem;
font-weight: $bolder;
padding: 0.75rem 1.5rem;
text-decoration: none;
display: block;
@include transition;
}
a:hover,
.active a {
//background-color: $accent;
color: $accent;
}
}
/* ## Comments
--------------------------------------------- */
.comment-respond,
.entry-comments,
.entry-pings {
background-color: #fff;
font-size: 1.6rem;
margin-top: 4rem;
padding: 6vw 3vw;
@include breakpoint(sm) {
padding: 6rem;
}
}
.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-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;
}
}
.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;
}