summaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-01-08 02:00:07 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-01-08 02:00:07 +0100
commitaa306982f095bd491d6461b97a5fa7e9ffb825b5 (patch)
tree43b03e6bf208827ba98a562f8cf449d8e4b289ae /src/style.css
parent3ff1fefee575e178fcc9fcd202ae1147623a6ae4 (diff)
downloadwebsite-aa306982f095bd491d6461b97a5fa7e9ffb825b5.tar.xz
Make dropcaps optional
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/style.css b/src/style.css
index 31904a5..405b187 100644
--- a/src/style.css
+++ b/src/style.css
@@ -89,7 +89,7 @@ header h1 {
margin-top: -0.75rem;
margin-bottom: 0.5rem;
}
-.entry > p.sc:first-of-type:first-letter {
+.entry.dropcap > p:first-of-type:first-letter {
float: left;
color: #903;
font-size: 44px;
@@ -100,7 +100,7 @@ header h1 {
font-family: 'Fontin';
}
@media (max-width: 767px) {
- .entry > p.sc:first-of-type:first-letter {
+ .entry.dropcap > p:first-of-type:first-letter {
padding-top: 0.2rem;
padding-right: 0.2rem;
font-size: 2.5rem;
@@ -108,7 +108,7 @@ header h1 {
}
/* Firefox-specific hack to make spacing work properly */
@media all and (min--moz-device-pixel-ratio:0) and (min-resolution: 3e1dpcm) {
- .entry > p:first-of-type:first-letter {
+ .entry.dropcap > p:first-of-type:first-letter {
font-size: 44px;
padding-top: 0.3rem;
}