Skip to content

Commit af5eea6

Browse files
committed
Styling default page title
1 parent 54a5521 commit af5eea6

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a id="skip-to-content" href="#content">Skip to the content.</a>
1717

1818
<header class="page-header" role="banner">
19-
<h1 class="project-name">{{ page.title }}</h1>
19+
<h1 class="page-title">{{ page.title }}</h1>
2020
</header>
2121

2222
<main id="content" class="main-content" role="main">

assets/css/style.scss

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,59 @@
2020
padding: 1rem 1rem;
2121
}
2222
}
23+
24+
.page-title {
25+
margin-top: 0;
26+
margin-bottom: 0.1rem;
27+
text-align: left;
28+
29+
@include large {
30+
font-size: 2rem;
31+
}
32+
33+
@include medium {
34+
font-size: 2rem;
35+
}
36+
37+
@include small {
38+
font-size: 2rem;
39+
}
40+
}
41+
42+
.project-name {
43+
margin-top: 0;
44+
margin-bottom: 0.1rem;
45+
46+
@include large {
47+
font-size: 2rem;
48+
}
49+
50+
@include medium {
51+
font-size: 2rem;
52+
}
53+
54+
@include small {
55+
font-size: 2rem;
56+
}
57+
}
58+
59+
.project-name {
60+
margin-top: 0;
61+
margin-bottom: 0.1rem;
62+
63+
@include large {
64+
font-size: 2rem;
65+
}
66+
67+
@include medium {
68+
font-size: 2rem;
69+
}
70+
71+
@include small {
72+
font-size: 2rem;
73+
}
74+
}
75+
2376
.project-name {
2477
margin-top: 0;
2578
margin-bottom: 0.1rem;

0 commit comments

Comments
 (0)