mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 23:24:04 +02:00
Default theme: updates and improvements
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
// Main
|
||||
//
|
||||
|
||||
|
||||
html,
|
||||
body {
|
||||
body,
|
||||
html {
|
||||
font-family: $base-font-family;
|
||||
font-size: $base-font-size;
|
||||
|
||||
@@ -17,15 +16,25 @@ body {
|
||||
body,
|
||||
button,
|
||||
input,
|
||||
p,
|
||||
select,
|
||||
textarea,
|
||||
p {
|
||||
textarea {
|
||||
font-family: $base-font-family;
|
||||
font-weight: 400;
|
||||
|
||||
color: black;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
body,
|
||||
p {
|
||||
line-height: $base-line-height;
|
||||
@@ -35,3 +44,7 @@ pre {
|
||||
background: #f0f0f0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 60px;
|
||||
}
|
||||
|
16
site/themes/default/assets/scss/components/blog.scss
Normal file
16
site/themes/default/assets/scss/components/blog.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
.blog-post {
|
||||
color: #000;
|
||||
margin-bottom: 40px;
|
||||
padding-top: 40px;
|
||||
display: block;
|
||||
border-top: 1px solid #efefef;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.blog-read {
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
@@ -4,4 +4,13 @@
|
||||
|
||||
.powered {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
|
||||
> a {
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
|
@@ -4,4 +4,5 @@
|
||||
|
||||
.content {
|
||||
padding-top: 40px;
|
||||
max-width: 700px;
|
||||
}
|
||||
|
@@ -18,6 +18,7 @@
|
||||
// Components
|
||||
// Discrete, complete chunks of UI
|
||||
@import "components/nav";
|
||||
@import "components/blog";
|
||||
@import "components/footer";
|
||||
|
||||
// Thumps
|
||||
|
Reference in New Issue
Block a user