Skip to content

Commit 22b75bc

Browse files
committed
Fix spacing on paragraphs, lists, and posts, and make links red again
1 parent 745d07d commit 22b75bc

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

assets/css/rascal.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ body {
66
}
77
p {
88
line-height: 1.6em;
9+
margin-top: 0.5em;
10+
margin-bottom: 0.5em;
911
}
1012
h1.post-title {
1113
font-size: 30px;
@@ -19,6 +21,7 @@ h2 {
1921
h2 a {
2022
color: #414243;
2123
}
24+
a,
2225
a:hover {
2326
color: #c6433c;
2427
}
@@ -37,7 +40,9 @@ h5 {
3740
max-width: 820px;
3841
background-color: #f5f5f5;
3942
margin-top: 0px;
40-
padding-top: 80px;
43+
padding-top: 50px;
44+
padding-bottom: 0px;
45+
margin-bottom: 0px;
4146
position: static;
4247
/* to prevent weird overlap on page.hbs */
4348
}
@@ -46,6 +51,13 @@ h5 {
4651
padding-top: 20px;
4752
border-top: #414243 1px solid;
4853
}
54+
ul li {
55+
line-height: 1.6em;
56+
}
57+
ul {
58+
margin-top: 0.5em;
59+
margin-bottom: 0.5em;
60+
}
4961
ul.nav li {
5062
display: inline;
5163
list-style-type: none;

assets/css/rascal.less

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ body {
1919

2020
p {
2121
line-height: 1.6em;
22+
margin-top: 0.5em;
23+
margin-bottom: 0.5em;
2224
}
2325

2426
h1.post-title {
@@ -36,7 +38,7 @@ h2 a {
3638
color: @rascal-gray;
3739
}
3840

39-
a:hover {
41+
a, a:hover {
4042
color: @rascal-red;
4143
}
4244

@@ -58,7 +60,9 @@ h5 {
5860
max-width: 820px;
5961
background-color: @rascal-bright-white;
6062
margin-top: 0px;
61-
padding-top: 80px;
63+
padding-top: 50px;
64+
padding-bottom: 0px;
65+
margin-bottom: 0px;
6266
position: static; /* to prevent weird overlap on page.hbs */
6367
}
6468

@@ -68,6 +72,15 @@ h5 {
6872
border-top: @rascal-gray 1px solid;
6973
}
7074

75+
ul li {
76+
line-height: 1.6em;
77+
}
78+
79+
ul {
80+
margin-top: 0.5em;
81+
margin-bottom: 0.5em;
82+
}
83+
7184
ul.nav li {
7285
display: inline;
7386
list-style-type: none;

0 commit comments

Comments
 (0)