mirror of
https://gh.wpcy.net/https://github.com/elementor/hello-theme.git
synced 2026-05-02 15:29:51 +08:00
104 lines
1.3 KiB
SCSS
104 lines
1.3 KiB
SCSS
/**
|
|
* General - https://wordpress.org/documentation/article/css/
|
|
*/
|
|
|
|
.page-content,
|
|
.comments-area {
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.alignright {
|
|
float: right;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.alignleft {
|
|
float: left;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.aligncenter {
|
|
clear: both;
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
//Gutenberg support
|
|
.alignwide {
|
|
margin-left: -80px;
|
|
margin-right: -80px;
|
|
}
|
|
|
|
//Gutenberg support
|
|
.alignfull {
|
|
margin-left: calc(50% - 50vw);
|
|
margin-right: calc(50% - 50vw);
|
|
max-width: 100vw;
|
|
width: 100vw;
|
|
|
|
img {
|
|
width: 100vw;
|
|
}
|
|
}
|
|
|
|
.wp-caption {
|
|
margin-block-end: 1.25rem;
|
|
max-width: 100%;
|
|
|
|
&.alignleft {
|
|
margin: 5px 20px 20px 0;
|
|
}
|
|
|
|
&.alignright {
|
|
margin: 5px 0 20px 20px;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
.wp-caption-text {
|
|
margin: 0;
|
|
}
|
|
|
|
.gallery-caption {
|
|
display: block;
|
|
font-size: $sm-font-size;
|
|
line-height: $line-height-base;
|
|
margin: 0;
|
|
padding: $xs-padding;
|
|
}
|
|
|
|
.pagination {
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.sticky {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
.bypostauthor {
|
|
font-size: inherit;
|
|
}
|
|
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
|
|
.post-password-form p {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.post-password-form [type=submit] {
|
|
margin-inline-start: 3px;
|
|
}
|