-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Don't duplicate GitHub repo stars badge (in footer next to GitHub Repo) when switching theme - Home page header title size reduces on mobile, the same way it does on the other pages - Body text is left aligned (not full width justified) - Headers have standard line height (not super tall spaced out) - Body text width has relaxed margins (not super tight horizontally) Closes #2
- Loading branch information
1 parent
a6b88b5
commit 307f344
Showing
3 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
<link rel="stylesheet" href="/css/custom.css"> | ||
|
||
<style> | ||
#R-body img.bg-white { | ||
background-color: white; | ||
} | ||
</style> | ||
<link rel="stylesheet" href="/css/cookieconsent.css"> | ||
|
||
<link rel="stylesheet" href="/css/cookieconsent.css"> | ||
|
||
{{- if .Site.GoogleAnalytics }} | ||
{{ template "_internal/google_analytics.html" . }} | ||
{{- end}} | ||
{{- if .Site.GoogleAnalytics }} | ||
{{ template "_internal/google_analytics.html" . }} | ||
{{- end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#R-body img.bg-white { | ||
background-color: white; | ||
} | ||
|
||
body:not(.print) #R-body-inner h1 { | ||
line-height: 1.2em; | ||
} | ||
|
||
body:not(.print) #R-body-inner p { | ||
text-align: left !important; | ||
} | ||
|
||
body:not(.print) #R-body-inner.narrow { | ||
padding: 0 3.75rem 2rem 3.75rem; | ||
} | ||
|
||
@media screen and (max-width: 59.999rem) { | ||
body:not(.print) #R-body-inner.narrow { | ||
padding: 0 2.5rem 1rem 2.5rem; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 47.999rem) { | ||
body:not(.print) #R-body-inner h1 { | ||
font-size: 2.5rem; | ||
} | ||
|
||
body:not(.print) #R-body-inner.narrow h1 { | ||
font-size: 2.5rem; | ||
} | ||
|
||
body:not(.print) #R-body-inner.narrow { | ||
padding: 0 1.5rem .375rem 1.5rem; | ||
} | ||
} |