git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddbc59
)
word: margin exception in common stylesheet
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 7 Feb 2022 17:42:16 +0000
(18:42 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 7 Feb 2022 17:42:33 +0000
(18:42 +0100)
base.css
patch
|
blob
|
history
word.plp
patch
|
blob
|
history
diff --git
a/base.css
b/base.css
index c5a36f293444d0b3e4cd64d16f277c9d793f9b8d..21dc14b76ef7709f8f2dda4ac9adb87fcf8f4338 100644
(file)
--- a/
base.css
+++ b/
base.css
@@
-737,6
+737,10
@@
img {
margin-left: -60%; /* keep width */
}
+body#word {
+ margin: 8px 1px;
+}
+
/* page-specific */
#browser td > a {
diff --git
a/word.plp
b/word.plp
index b96ebdbbf632d884e6a7ae85e1b39fdbe00aa0ad..977545f74e847200d87e42eacc1586aebee74be5 100644
(file)
--- a/
word.plp
+++ b/
word.plp
@@
-24,7
+24,7
@@
Html({
language
'],
data => [$wordlist],
- raw =>
(exists $get{q} && <<'EOT')
+ raw =>
exists $get{q} ? <<'EOT' : undef,
<style>
.gallery figure {
grid-row: span 1 !important;
@@
-44,13
+44,6
@@
Html({
font-size: 175% !important;
}
</style>
-EOT
- . <<'EOT',
-<style>
-body {
- margin: 8px 1px;
-}
-</style>
EOT
});