git://git.nikiroo.be
/
nikiroo-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3fbc084
)
web server: max size 800px
author
Niki Roo
<niki@nikiroo.be>
Tue, 12 May 2020 14:30:34 +0000
(16:30 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Tue, 12 May 2020 14:30:34 +0000
(16:30 +0200)
src/be/nikiroo/fanfix/library/web/style.css
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix/library/web/style.css
b/src/be/nikiroo/fanfix/library/web/style.css
index 705006cf4ce91cb203103d24e36971d90b9ded2f..aadbf332a566e546933e738103c661cdfc18c5dc 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/web/style.css
+++ b/
src/be/nikiroo/fanfix/library/web/style.css
@@
-24,7
+24,8
@@
table {
}
.main {
}
.main {
- display: block;
+ max-width: 800px;
+ margin: auto;
}
.message {
}
.message {
@@
-133,6
+134,7
@@
h3 {
display: block;
background: white;
position: fixed;
display: block;
background: white;
position: fixed;
+ margin: auto;
}
.viewer {
}
.viewer {
@@
-155,7
+157,7
@@
a.viewer.link:hover {
}
.bar.navbar {
}
.bar.navbar {
- padding-left: calc(
50%
- (4 * 64px / 2));
+ padding-left: calc(
min(50%, 800px / 2)
- (4 * 64px / 2));
}
.bar.optionbar {
}
.bar.optionbar {
@@
-163,11
+165,11
@@
a.viewer.link:hover {
}
.bar.optionbar.s1 {
}
.bar.optionbar.s1 {
- padding-left: calc(
50%
- (1 * 64px / 2));
+ padding-left: calc(
min(50%, 800px / 2)
- (1 * 64px / 2));
}
.bar.optionbar.s4 {
}
.bar.optionbar.s4 {
- padding-left: calc(
50%
- (4 * 64px / 2));
+ padding-left: calc(
min(50%, 800px / 2)
- (4 * 64px / 2));
}
.bar .button {
}
.bar .button {