git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
web server: max size 800px
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
web
/
style.css
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 {