[www] Article & Cloud Page style updated
This commit is contained in:
1 parent
cbd0fa0688
commit
dfef6d1e0f
7 files changed
+40
-90
No files matched your search
@@ -4,6 +4,7 @@
|
||||
--article-line-height: 1.75em;
|
||||
--article-quote-padding: 1em;
|
||||
--article-quote-font-size: 1.25em;
|
||||
--article-head-margin-bottom: var(--small-margin);
|
||||
|
||||
hyphens: auto;
|
||||
|
||||
@@ -13,12 +14,7 @@
|
||||
margin-bottom: 1.25em;
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin-bottom: $small-margin;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
margin-bottom: var(--article-head-margin-bottom);
|
||||
}
|
||||
|
||||
.date {
|
||||
@@ -38,6 +34,10 @@
|
||||
ul, ol{
|
||||
margin-left: $half-margin;
|
||||
margin-bottom: $single-margin;
|
||||
|
||||
li {
|
||||
margin-bottom: var(--half-margin);
|
||||
}
|
||||
}
|
||||
|
||||
ul{
|
||||
@@ -83,6 +83,13 @@
|
||||
background: var(--dark-color);
|
||||
}
|
||||
}
|
||||
|
||||
&--cloud {
|
||||
h1 {
|
||||
--article-head-margin-bottom: var(--single-margin);
|
||||
margin-bottom: var(--article-head-margin-bottom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
@@ -97,6 +104,10 @@
|
||||
img {
|
||||
max-height: 20em;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin-left: var(--single-margin);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
@import "../variables";
|
||||
|
||||
.cloud-page {
|
||||
margin-bottom: $post-margin;
|
||||
|
||||
&__body{
|
||||
h1{
|
||||
text-align: center;
|
||||
margin-bottom: $single-margin;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: left;
|
||||
margin-top: $double-margin;
|
||||
font-family: $text-font;
|
||||
}
|
||||
|
||||
ul, ol{
|
||||
margin-left: $half-margin;
|
||||
margin-bottom: $single-margin;
|
||||
padding-left: $single-margin;
|
||||
}
|
||||
|
||||
ul{
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
p{
|
||||
margin-bottom: 1.25em;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: hsl(215, 10%, 96%);
|
||||
padding: 1em 1em .5em;
|
||||
margin: $single-margin 0;
|
||||
font-family: $title-font;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
font-size: 1.25em;
|
||||
|
||||
cite {
|
||||
margin-top: $single-margin;
|
||||
display: block;
|
||||
color: #aaa;
|
||||
font-size: initial;
|
||||
font-family: $text-font;
|
||||
text-align: right;
|
||||
margin-right: $single-margin;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
.cloud-page {
|
||||
&__body {
|
||||
img {
|
||||
max-height: 20em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user