summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_customize.scss64
-rw-r--r--assets/sass/_mixins.scss30
-rw-r--r--assets/sass/style.scss3
3 files changed, 96 insertions, 1 deletions
diff --git a/assets/sass/_customize.scss b/assets/sass/_customize.scss
new file mode 100644
index 0000000..4bc0bb4
--- /dev/null
+++ b/assets/sass/_customize.scss
@@ -0,0 +1,64 @@
+@import "_mixins";
+
+.masthead-title small {
+ font-size: .78rem;
+}
+
+.introduction {
+ min-height: 40px;
+ margin-bottom: 40px;
+
+ @include mq(tabletp) {
+ min-height: 60px;
+ margin-bottom: 60px;
+ }
+
+ @include mq(tabletl) {
+ min-height: 80px;
+ margin-bottom: 80px;
+ }
+
+ @include mq(laptop) {
+ min-height: 100px;
+ margin-bottom: 100px;
+ }
+}
+
+.introduction .container {
+ margin: 10px auto;
+ max-width: 600px;
+ text-align: center;
+}
+
+.blog-post {
+ margin-top: 40px;
+
+ @include mq(tabletp) {
+ margin-top: 60px;
+ }
+
+ @include mq(tabletl) {
+ margin-top: 80px;
+ }
+
+ @include mq(laptop) {
+ margin-top: 100px;
+ }
+
+ &:first-child {
+ margin-top: 0;
+ }
+}
+
+.post-meta {
+ margin-top: 5px;
+ font-size: .85rem;
+ color: $text-light-color;
+}
+
+.post .byline {
+ font-style: italic;
+ font-weight: normal;
+ letter-spacing: 0;
+ margin-top: -.5rem;
+}
diff --git a/assets/sass/_mixins.scss b/assets/sass/_mixins.scss
new file mode 100644
index 0000000..9dc3ada
--- /dev/null
+++ b/assets/sass/_mixins.scss
@@ -0,0 +1,30 @@
+// - - - - - - - - - - - - - - - - - -
+// Mixins
+// - - - - - - - - - - - - - - - - - -
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Responsive
+// Usage: @include mq(tabletp) {}
+
+$break-phonel: 480px;
+$break-tabletp: 768px;
+$break-tabletl: 1024px;
+$break-laptop: 1220px;
+$break-desktop: 1600px;
+
+@mixin mq($media) {
+ @if $media == phonel {
+ @media only screen and (min-width: $break-phonel) { @content; }
+ }
+ @else if $media == tabletp {
+ @media only screen and (min-width: $break-tabletp) { @content; }
+ }
+ @else if $media == tabletl {
+ @media only screen and (min-width: $break-tabletl) { @content; }
+ }
+ @else if $media == laptop {
+ @media only screen and (min-width: $break-laptop) { @content; }
+ }
+ @else if $media == desktop {
+ @media only screen and (min-width: $break-desktop) { @content; }
+ }
+}
diff --git a/assets/sass/style.scss b/assets/sass/style.scss
index fcc493c..91b45a2 100644
--- a/assets/sass/style.scss
+++ b/assets/sass/style.scss
@@ -15,10 +15,11 @@ $regular-font-size: 1.25em; /* 20px / 16px = 1.25em; support text resizing in al
Make sure to leave color_scheme in `config.toml` file empty for granular control
*/
-
+$text-light-color: #676767;
$text-color: #454545;
$heading-color: #404040;
$link-color: #841212;
@import "ed";
@import "syntax";
+@import "customize";