Skip to content

Commit c3e8878

Browse files
committed
css tweaks
1 parent 6ec0a6b commit c3e8878

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
title: libewa.xyz
22
author:
3-
name: libewa
3+
name: Linus Warnatz
44
email: linus@libewa.xyz
55
description: >- # this means to ignore newlines until "baseurl:"
66
Mediocre Swift and TypeScript code,

assets/css/main.scss

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,22 @@
77

88
$base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
99
$code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
10-
$base-font-size: 16px !default;
11-
$base-font-weight: 400 !default;
12-
$small-font-size: $base-font-size * 0.875 !default;
13-
$base-line-height: 1.5 !default;
1410

15-
$spacing-unit: 30px !default;
11+
$main-bg-color: rebeccapurple !default;
1612

17-
$table-text-align: left !default;
13+
$spacing-unit: 30px !default;
1814

19-
html {
20-
font-size: $base-font-size;
21-
}
15+
$table-text-align: left !default;
2216

2317
body {
24-
font: $base-font-weight $base-font-size/$base-line-height $base-font-family ;
18+
font-family: $base-font-family;
2519
-webkit-text-size-adjust: 100%;
2620
-webkit-font-feature-settings: "kern" 1;
2721
-moz-font-feature-settings: "kern" 1;
2822
-o-font-feature-settings: "kern" 1;
2923
font-feature-settings: "kern" 1;
3024
font-kerning: normal;
31-
background-color: rebeccapurple;
25+
background-color: $main-bg-color;
3226
}
3327

3428
.container {
@@ -42,8 +36,11 @@ nav ul li {
4236
list-style-type: none;
4337
}
4438

45-
h1 a {
39+
h1 {
4640
font-family: $code-font-family, monospace;
41+
}
42+
43+
h1 a {
4744
color: inherit;
4845
text-decoration: none;
4946
}

0 commit comments

Comments
 (0)