aboutsummaryrefslogtreecommitdiff
path: root/web/static/main.css
diff options
context:
space:
mode:
authorLudovic Courtès2018-04-29 22:43:42 +0200
committerLudovic Courtès2018-04-29 22:43:42 +0200
commite19dfb57e374e78fef4b2826ffca987175ec72ec (patch)
tree6a591d29aac5da48190991ec9bf30ddfb255fee6 /web/static/main.css
parent35bf8415e8b3656325c6f3035365dc42084c17c5 (diff)
downloadskribilo-e19dfb57e374e78fef4b2826ffca987175ec72ec.tar.gz
skribilo-e19dfb57e374e78fef4b2826ffca987175ec72ec.tar.lz
skribilo-e19dfb57e374e78fef4b2826ffca987175ec72ec.zip
web: Adjust main.css.
* web/static/main.css (body): Remove background. (a:link, a:visited, a:active): Add color. (div.navtabs-title): Adjust background, set min-width. (div.skribilo-title): New entity. (div.skribilo-body): Tweak. (div.skribilo-ending): Tweak.
Diffstat (limited to 'web/static/main.css')
-rw-r--r--web/static/main.css24
1 files changed, 15 insertions, 9 deletions
diff --git a/web/static/main.css b/web/static/main.css
index 3d98316..7f4fdbe 100644
--- a/web/static/main.css
+++ b/web/static/main.css
@@ -17,8 +17,6 @@
body {
font-family: "Linux Libertine", serif;
- /* image from transparenttextures.com */
- background: url("graphy.png");
font-size: 18px;
padding: 0px;
margin: 0px;
@@ -30,6 +28,7 @@ h1, h2, h3, h4, h5, h6 {
a:link, a:visited, a:active {
text-decoration: none;
+ color: #842;
}
a:hover {
@@ -42,14 +41,13 @@ code, pre, tt {
}
div.navtabs-title {
- background: url("gears-up.png");
+ background: url("gears-up.png"), url("graphy.png");
background-position: bottom;
background-repeat: repeat-x;
- padding: 15px;
- padding-bottom: 180px;
- padding-top: 50px;
+ padding: 30px;
text-align: center;
font-size: 3em;
+ min-height: 70px;
}
div.navtabs-tabs {
@@ -70,17 +68,25 @@ div.navtabs-tabs > a {
margin: 15px 15px;
}
+div.skribilo-title {
+ font-size: 3em;
+ font-weight: bold;
+}
+
div.skribilo-body {
padding: 15px 30px;
+ margin: auto;
+ max-width: 800px;
background: white;
line-height: 1.5em;
+ text-align: justify;
}
div.skribilo-ending {
- background: url("gears-down.png");
- background-position: top;
+ background: url("gears-down.png"), url('graphy.png');
+ background-position: bottom;
background-repeat: repeat-x;
padding: 15px;
- padding-top: 150px;
+ padding-top: 70px;
text-align: right;
}