summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--new_journal.css14
2 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index e40bd48..527d218 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ OUT_CSS := $(addprefix build/, $(CSS))
PARTIALS := $(addprefix partials/, head.html header.html footer.html)
RESOURCES := $(addprefix build/resources/, glider.png)
-site : $(OUT_HTML) $(RESOURCES)
+site : $(OUT_HTML) $(OUT_CSS) $(RESOURCES)
build/%.html: %.html $(PARTIALS) $(OUT_CSS)
./scripts/awink $< $@
diff --git a/new_journal.css b/new_journal.css
index 2c14230..1b0430d 100644
--- a/new_journal.css
+++ b/new_journal.css
@@ -1,4 +1,4 @@
-@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700);
+@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700);
*, *:before, *:after {
-moz-box-sizing: border-box;
@@ -18,6 +18,8 @@ body {
border-color: #ccc;
background-color: #fcfcfc;
font-family: 'PT Sans';
+ -moz-hyphens: auto;
+ -webkit-hyphens: auto;
}
header nav {
padding-top: 2.25rem;
@@ -58,17 +60,19 @@ header h1 {
.post > p:first-of-type:first-letter {
float: left;
color: #903;
- font-size: 4rem;
- line-height: 2.5rem;
- padding-top: 0.5rem;
+ font-size: 3rem;
+ line-height: 2rem;
+ padding-top: 0.4rem;
padding-right: 0.4rem;
- padding-left: 0.2rem;
+ padding-left: 0.1rem;
font-family: 'Georgia';
}
@media (max-width: 767px) {
.post > p:first-of-type:first-letter {
+ padding-top: 0.3rem;
padding-right: 0.2rem;
+ font-size: 2.7rem;
}
}
body > * + :not(:last-child) {