aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2020-04-25 18:40:04 -0400
committerBryan Brattlof <hello@bryanbrattlof.com>2020-04-25 18:43:51 -0400
commit648711e7afeaa7acfc1317c83caff60eb06773bb (patch)
tree35d1ee4fe17f15418d0d42f7e16f56baab5835a6
parent0cd228bb9f25fd6103b2e97063ca3bbb367c2695 (diff)
downloadbryanbrattlof.com-648711e7afeaa7acfc1317c83caff60eb06773bb.tar.gz
bryanbrattlof.com-648711e7afeaa7acfc1317c83caff60eb06773bb.tar.bz2
cleanup whitespace
-rw-r--r--stylesheets/article.scss136
-rw-r--r--stylesheets/base/base.scss8
-rw-r--r--stylesheets/base/webkit.scss10
-rw-r--r--stylesheets/footer.scss48
-rw-r--r--stylesheets/index.scss10
-rw-r--r--stylesheets/ubad.scss10
6 files changed, 115 insertions, 107 deletions
diff --git a/stylesheets/article.scss b/stylesheets/article.scss
index 461dc19..5647f31 100644
--- a/stylesheets/article.scss
+++ b/stylesheets/article.scss
@@ -10,14 +10,14 @@ header {
/* article/page title */
h1 {
- line-height: 1;
+ line-height: 1;
}
/* subtitle + metadata */
p {
- @include p;
- color: $secondary-font-color;
- margin: 0;
+ @include p;
+ color: $secondary-font-color;
+ margin: 0;
}
/* published/modified time */
@@ -26,10 +26,10 @@ header {
/* metadata only */
.meta {
- font-size: 80%;
- font-style: italic;
- color: $display-font-color;
- padding: 10px 0;
+ font-size: 80%;
+ font-style: italic;
+ color: $display-font-color;
+ padding: 10px 0;
}
}
@@ -45,14 +45,14 @@ main {
padding-top: 50px;
@include breakpoint-min($max-page-width) {
- padding-top: 100px;
+ padding-top: 100px;
}
@include print {
- width: 100%;
- margin: 0;
- padding: 0;
- background: none;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ background: none;
}
}
@@ -158,12 +158,12 @@ blockquote {
padding: 10px 20px;
.attribution {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
@include print {
- page-break-inside: avoid;
+ page-break-inside: avoid;
}
}
@@ -177,21 +177,21 @@ a {
@extend %link;
&.footnote-reference {
- vertical-align: super;
- font-size: 80%;
+ vertical-align: super;
+ font-size: 80%;
}
@include print {
- &.external {
- border-bottom: 1px solid $print-font-color;
+ &.external {
+ border-bottom: 1px solid $print-font-color;
- &:after {
- content: " [" attr(href) "] ";
+ &:after {
+ content: " [" attr(href) "] ";
+ }
+ }
+ &.internal, &.footnote-reference, &.fn-backref {
+ border-bottom: none;
}
- }
- &.internal, &.footnote-reference, &.fn-backref {
- border-bottom: none;
- }
}
}
@@ -215,13 +215,13 @@ dl {
padding: 0;
dt {
- font-style: italic;
- @extend %bold-font-extends;
+ font-style: italic;
+ @extend %bold-font-extends;
}
dd {
- margin: 0 0 20px 10px;
- padding-left: 10px;
- border-left: 5px solid lighten($secondary-color, 10);
+ margin: 0 0 20px 10px;
+ padding-left: 10px;
+ border-left: 5px solid lighten($secondary-color, 10);
}
}
@@ -234,69 +234,69 @@ table {
margin: 0 0 20px;
th, td {
- padding: 6px 13px;
- border: none;
- border-bottom: 1px solid lighten($secondary-color, 10);
+ padding: 6px 13px;
+ border: none;
+ border-bottom: 1px solid lighten($secondary-color, 10);
}
th {
- padding-right: 20px;
- text-align: left;
+ padding-right: 20px;
+ text-align: left;
}
td {
}
p {
- margin: 0 0 20px;
+ margin: 0 0 20px;
}
p.last {
- margin:0;
+ margin:0;
}
/* field list */
&.field-list {
- th, td {
- padding: 0;
- border: none;
- }
+ th, td {
+ padding: 0;
+ border: none;
+ }
- .field-name {
- font-style: italic;
- }
- .field-body {
- padding-left: 20px;
- }
+ .field-name {
+ font-style: italic;
+ }
+ .field-body {
+ padding-left: 20px;
+ }
}
/* option list */
&.option-list {
- th, td {
- padding: 0;
- border: none;
- }
+ th, td {
+ padding: 0;
+ border: none;
+ }
- td {
- padding: 0 0 10px 20px;
- }
+ td {
+ padding: 0 0 10px 20px;
+ }
- .option-group {
- @extend %bold-font-extends;
- padding: 0;
- font-style: italic;
- }
+ .option-group {
+ @extend %bold-font-extends;
+ padding: 0;
+ font-style: italic;
+ }
}
/* footnote table */
&.footnote {
- display: inline;
+ display: inline;
- th, td {
- padding: 0;
- border: none;
- }
- td {
- padding: 0 20px 20px 0;
- }
+ th, td {
+ padding: 0;
+ border: none;
+ }
+ td {
+ padding: 0 20px 20px 0;
+ }
}
}
diff --git a/stylesheets/base/base.scss b/stylesheets/base/base.scss
index 8ba2c5e..5c18c8f 100644
--- a/stylesheets/base/base.scss
+++ b/stylesheets/base/base.scss
@@ -19,12 +19,12 @@ body {
font-size: $mobile-font-size;
@include breakpoint-min(600px) {
- font-size: $font-size;
+ font-size: $font-size;
}
@include print {
- font-size: $print-font-size;
- font-color: $print-font-color;
- margin: 0;
+ font-size: $print-font-size;
+ font-color: $print-font-color;
+ margin: 0;
}
}
diff --git a/stylesheets/base/webkit.scss b/stylesheets/base/webkit.scss
index c5b95d3..d5f034f 100644
--- a/stylesheets/base/webkit.scss
+++ b/stylesheets/base/webkit.scss
@@ -1,8 +1,8 @@
@mixin transition($args...) {
- -webkit-transition: $args;
- -moz-transition: $args;
- -ms-transition: $args;
- -o-transition: $args;
- transition: $args;
+ -webkit-transition: $args;
+ -moz-transition: $args;
+ -ms-transition: $args;
+ -o-transition: $args;
+ transition: $args;
}
diff --git a/stylesheets/footer.scss b/stylesheets/footer.scss
index c7a17fe..6b71e6b 100644
--- a/stylesheets/footer.scss
+++ b/stylesheets/footer.scss
@@ -5,46 +5,46 @@ footer {
max-width: $max-page-width * 0.5;
img {
- max-width: 200px;
- margin: 0;
- display: inline;
+ max-width: 200px;
+ margin: 0;
+ display: inline;
}
a {
- @extend %link;
+ @extend %link;
}
ul {
- @include ul;
- margin: 30px 0;
+ @include ul;
+ margin: 30px 0;
}
li {
- @include li;
- display: inline;
+ @include li;
+ display: inline;
- font-size: 90%;
+ font-size: 90%;
- margin: 0 10px;
- padding: 0;
+ margin: 0 10px;
+ padding: 0;
}
p {
- @include p;
- font-size: 75%;
- margin: 40px 0;
-
- &.contact {
- display: none;
- visibility: hidden;
- }
-
- &:last-child {
- margin: 0;
- }
+ @include p;
+ font-size: 75%;
+ margin: 40px 0;
+
+ &.contact {
+ display: none;
+ visibility: hidden;
+ }
+
+ &:last-child {
+ margin: 0;
+ }
}
@include print {
- display: none;
+ display: none;
}
}
diff --git a/stylesheets/index.scss b/stylesheets/index.scss
index d1e6b08..e409269 100644
--- a/stylesheets/index.scss
+++ b/stylesheets/index.scss
@@ -17,11 +17,11 @@ main {
min-height: 500px;
a {
- @extend %flexbox;
+ @extend %flexbox;
}
@include breakpoint-min($max-page-width) {
- padding-top: 100px;
+ padding-top: 100px;
}
}
@@ -45,8 +45,8 @@ span {
&.yr {
}
&.mo {
- /* move the month to the right */
- margin-left: auto;
+ /* move the month to the right */
+ margin-left: auto;
}
}
@@ -57,7 +57,7 @@ p {
margin: 0;
&.tag {
- @extend %bold-font-extends;
+ @extend %bold-font-extends;
}
&.title {
}
diff --git a/stylesheets/ubad.scss b/stylesheets/ubad.scss
index 0bf4252..1d2cbe2 100644
--- a/stylesheets/ubad.scss
+++ b/stylesheets/ubad.scss
@@ -20,5 +20,13 @@ div {
}
h1 {
- @extend %h12-extend;
+ font-weight: $normal-font-weight;
+ font-family: $title-font;
+ color: $title-font-color;
+
+ margin: 0;
+ padding: 0;
+
+ font-size: 300%;
+ letter-spacing: -1px;
}