summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-06 21:31:27 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-06 21:31:27 +0100
commitb15779d9c7fea54f5e8c217da788866e81a08e38 (patch)
treee174ea8e46f730a84cdde921ec2b49af5ff764a1
parentac2aa1fee5674584c58acfe9c5b47e188582b1ca (diff)
downloadwebsite-b15779d9c7fea54f5e8c217da788866e81a08e38.tar.xz
another dump! albeit a small one.
-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) {