aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-03-15 15:19:36 +1100
committerAndrew Gerrand <adg@golang.org>2013-03-15 15:19:36 +1100
commit5efaf121de5451677c6fd2d20adc5063dee42984 (patch)
tree970f4b63e31b4d06bcb38fc01c78816afbe9b0e6
parentdb9a09ff445f7e6bfcb2d3484f8c6bad13ebdd3d (diff)
go.blog: tweak text styles
R=golang-dev, r CC=golang-dev https://golang.org/cl/7708044
-rw-r--r--static/style.css18
1 files changed, 11 insertions, 7 deletions
diff --git a/static/style.css b/static/style.css
index 02c6efa..db90fdb 100644
--- a/static/style.css
+++ b/static/style.css
@@ -10,6 +10,12 @@ h1, h2, h3, h4, h5 {
p, li {
font-size: 10pt;
}
+p {
+ line-height: 1.6em;
+}
+li, pre {
+ line-height: 1.3em;
+}
pre, code {
font-size: 10pt;
font-family: Consolas, monospace;
@@ -80,13 +86,11 @@ body {
color: inherit;
text-decoration: none;
}
-#content h1 {
- font-size: 120%;
-}
-#content h2 {
- font-size: 110%;
+#content h1.title a:hover {
+ color: #5588aa;
+ text-decoration: underline;
}
-#content h3, #content h4, #content h4 {
+#content h1, #content h2, #content h3, #content h4, #content h4 {
font-size: 100%;
}
#content .date {
@@ -99,7 +103,7 @@ body {
font-style: italic;
}
#content .article {
- margin-bottom: 30px;
+ margin-bottom: 50px;
}
#content img {
max-width: 550px;