commit f580372c75cc52ac9bf4c4ce393fcb13ef2aa104
parent a57df1284600cee54421644707b9f5f35f108df4
Author: Heiswayi Nrird <hnrird@gmail.com>
Date: Sun, 16 Oct 2016 18:20:10 +0800
Update a few things
Diffstat:
3 files changed, 5 insertions(+), 48 deletions(-)
diff --git a/assets/scss/_layout.scss b/assets/scss/_layout.scss
@@ -127,7 +127,7 @@ hr {
}
.post-list {
- background-color: lighten($light-gray-color, 17%);
+
}
.category-title {
@@ -265,8 +265,8 @@ hr {
@media (max-width: 600px) {
.date-label {
float: left !important;
- border: 0;
- margin-left: 0 !important;
+ border: 0 !important;
+ margin-left: -2px !important;
margin-top: 2px;
margin-right: 1em;
}
diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss
@@ -1,5 +1,5 @@
// Typography
-$base-font-family: 'DejaVu Sans Mono', monospace;
+$base-font-family: 'Inconsolata', monospace;
$heading-font-family: $base-font-family;
// Font Sizes
diff --git a/assets/scss/base/_typography.scss b/assets/scss/base/_typography.scss
@@ -1,47 +1,4 @@
-@font-face {
- font-family: 'DejaVu Sans Mono';
- src: url('../fonts/eot/DejaVuSansMono-Bold-webfont.eot');
- src: local('DejaVu Sans Mono Bold'),
- url('../fonts/eot/DejaVuSansMono-Bold-webfont.eot?#iefix') format('embedded-opentype'),
- url('../fonts/woff/DejaVuSansMono-Bold-webfont.woff') format('woff'),
- url('../fonts/ttf/DejaVuSansMono-Bold-webfont.ttf') format('truetype'),
- url('../fonts/svg/DejaVuSansMono-Bold-webfont.svg#dejavu_sans_monobold') format('svg');
- font-weight: 700;
- font-style: normal;
-}
-@font-face {
- font-family: 'DejaVu Sans Mono';
- src: url('../fonts/eot/DejaVuSansMono-BoldOblique-webfont.eot');
- src: local('DejaVu Sans Mono Bold Oblique'),
- url('../fonts/eot/DejaVuSansMono-BoldOblique-webfont.eot?#iefix') format('embedded-opentype'),
- url('../fonts/woff/DejaVuSansMono-BoldOblique-webfont.woff') format('woff'),
- url('../fonts/ttf/DejaVuSansMono-BoldOblique-webfont.ttf') format('truetype'),
- url('../fonts/svg/DejaVuSansMono-BoldOblique-webfont.svg#dejavu_sans_monobold_oblique') format('svg');
- font-weight: 700;
- font-style: italic;
-}
-@font-face {
- font-family: 'DejaVu Sans Mono';
- src: url('../fonts/eot/DejaVuSansMono-webfont.eot');
- src: local('DejaVu Sans Mono Regular'),
- url('../fonts/eot/DejaVuSansMono-webfont.eot?#iefix') format('embedded-opentype'),
- url('../fonts/woff/DejaVuSansMono-webfont.woff') format('woff'),
- url('../fonts/ttf/DejaVuSansMono-webfont.ttf') format('truetype'),
- url('../fonts/svg/DejaVuSansMono-webfont.svg#dejavu_sans_monobook') format('svg');
- font-weight: 400;
- font-style: normal;
-}
-@font-face {
- font-family: 'DejaVu Sans Mono';
- src: url('../fonts/eot/DejaVuSansMono-Oblique-webfont.eot');
- src: local('DejaVu Sans Mono Regular Oblique'),
- url('../fonts/eot/DejaVuSansMono-Oblique-webfont.eot?#iefix') format('embedded-opentype'),
- url('../fonts/woff/DejaVuSansMono-Oblique-webfont.woff') format('woff'),
- url('../fonts/ttf/DejaVuSansMono-Oblique-webfont.ttf') format('truetype'),
- url('../fonts/svg/DejaVuSansMono-Oblique-webfont.svg#dejavu_sans_monooblique') format('svg');
- font-weight: 400;
- font-style: italic;
-}
+@import url('https://fonts.googleapis.com/css?family=Inconsolata');
body {
color: $base-font-color;