Skip to content

Commit 75e14d2

Browse files
committed
layout: adjust font sizes for publications and footer and specify a default size.
1 parent 6f42ed6 commit 75e14d2

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

_sass/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ body {
22
color: #000;
33
background-color: $theme-light;
44
font-family: "San Francisco", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif;
5+
font-size: $normalsize;
56
min-height: 100%;
67
margin: 0;
78
padding: 0 0 3.2em 0; // hardcoded: bottom has to be set to no less

_sass/_layout.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@
8383
// min-width: 25em;
8484
padding: 0 .6em;
8585
max-width: 33em;
86-
font-size: 16px;
86+
font-size: $normalsize;
87+
88+
h2 {
89+
font-size: $h2size;
90+
}
8791

8892
blockquote {
8993
margin: 0;
@@ -139,6 +143,7 @@
139143
width: 100%;
140144
border-top: 1px solid $theme-dark;
141145
background-color: $theme-dark;
146+
font-size: $small;
142147
#inner {
143148
margin: .2em .6em;
144149
text-align: right;

_sass/_publications.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
}
1010
.title {
1111
font-style: italic;
12+
font-size: $large;
1213
}
1314
ul li {
1415
padding: 5px 0px;

assets/css/style.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
---
22
---
33

4-
/* colors definition */
4+
/*** Constants. ***/
5+
6+
/* colors. */
57
$theme-light: #f6f6f6;
68
$theme-dark: #00bfff;
79

10+
/* font sizes.*/
11+
$h2size: 1.5em;
12+
$large: 18px;
13+
$normalsize: 16px;
14+
$small: 14px;
15+
816
/*
917
* Used RGB values
1018
* Yuri purple: #9528bd

0 commit comments

Comments
 (0)