_sass/minima/_layout.scss in better-minima-0.0.1 vs _sass/minima/_layout.scss in better-minima-0.1.0
- old
+ new
@@ -26,10 +26,32 @@
&:visited {
color: $site-title-color;
}
}
+.home-wrapper {
+ margin-top: $spacing-unit;
+}
+
+.landing-page {
+ background-color: #F5F5F7;
+ padding-bottom: $spacing-unit / 2;
+}
+
+.featuredposts-container, .recentposts-container {
+ background-color: #FFFFFF;
+ padding: ($spacing-unit / 2) ($spacing-unit / 2);
+ border-bottom: 1px solid #d2d2d7;
+ margin-top: $spacing-unit / 3;
+}
+
+.featuredposts-container {
+}
+
+.recentposts-container {
+}
+
.site-nav {
position: absolute;
top: 9px;
right: $spacing-unit / 2;
background-color: $background-color;
@@ -120,23 +142,28 @@
/**
* Site footer
*/
.site-footer {
- border-top: 1px solid $border-color-01;
- padding: $spacing-unit 0;
+ padding: ($spacing-unit / 3) 0;
}
-.footer-heading {
- @include relative-font-size(1.125);
- margin-bottom: $spacing-unit / 2;
+.footer-content {
+ @include relative-font-size(0.9);
+ margin: 0 auto;
+ width: fit-content;
}
-.feed-subscribe .svg-icon {
- padding: 5px 5px 2px 0
+.footer-content .svg-icon {
+ width: 1em;
+ height: 1em;
}
+// .feed-subscribe .svg-icon {
+// padding: 5px 5px 2px 0
+// }
+
.contact-list,
.social-media-list {
list-style: none;
margin-left: 0;
}
@@ -193,12 +220,17 @@
padding-left: $spacing-unit / 2;
}
}
}
+.hero-wrapper {
+ h1 {
+ @include relative-font-size(3);
+ text-align: center;
+ }
+}
-
/**
* Page content
*/
.page-content {
padding: $spacing-unit 0;
@@ -282,10 +314,14 @@
@include relative-font-size(1.125);
}
h6 {
@include relative-font-size(1.0625);
}
+
+ code {
+ @include relative-font-size(0.8);
+ }
}
.social-media-list {
display: table;
@@ -295,12 +331,15 @@
margin: 5px 10px 5px 0;
&:last-of-type { margin-right: 0 }
a {
display: block;
padding: $spacing-unit / 4;
- border: 1px solid $border-color-01;
- &:hover { border-color: $border-color-02 }
+ &:hover {
+ background-color: $border-color-02;
+ color: #d2d2d7;
+ }
}
+
}
}