diff options
author | amirouche | 2018-04-22 16:23:16 +0200 |
---|---|---|
committer | Ludovic Courtès | 2018-04-29 21:50:44 +0200 |
commit | 35bf8415e8b3656325c6f3035365dc42084c17c5 (patch) | |
tree | 92d1530c1b4e5978fe8b74a95a617b254869ba41 /web/static/main.css | |
parent | 9474deb63346db6b463a6346f971b974db42fcda (diff) | |
download | skribilo-35bf8415e8b3656325c6f3035365dc42084c17c5.tar.gz skribilo-35bf8415e8b3656325c6f3035365dc42084c17c5.tar.lz skribilo-35bf8415e8b3656325c6f3035365dc42084c17c5.zip |
web: New theme for the website
* web/static/: add css, fonts and images inside it
* web/index.skb: change css to point to web/static/main.css
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'web/static/main.css')
-rw-r--r-- | web/static/main.css | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/web/static/main.css b/web/static/main.css new file mode 100644 index 0000000..3d98316 --- /dev/null +++ b/web/static/main.css @@ -0,0 +1,86 @@ +@import url("base.css"); + +@font-face { + font-family: "Linux Libertine"; + src: url("LinLibertine_Rah.ttf"); +} + +@font-face { + font-family: "Linux Biolinum"; + src: url("LinBiolinum_Rah.ttf"); +} + +@font-face { + font-family: Hack; + src: url("Hack-Regular.ttf"); +} + +body { + font-family: "Linux Libertine", serif; + /* image from transparenttextures.com */ + background: url("graphy.png"); + font-size: 18px; + padding: 0px; + margin: 0px; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Linux Biolinum", sans; +} + +a:link, a:visited, a:active { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +code, pre, tt { + font-family: Hack, mono; + font-size: 0.8em; +} + +div.navtabs-title { + background: url("gears-up.png"); + background-position: bottom; + background-repeat: repeat-x; + padding: 15px; + padding-bottom: 180px; + padding-top: 50px; + text-align: center; + font-size: 3em; +} + +div.navtabs-tabs { + background: white; + line-height: 1.5em; + + margin: 0px; + padding: 0px; + list-style: none; + display: flex; + flex-wrap: wrap; + justify-content: center; + border-bottom: 1px solid black; + border-top: 1px solid black; +} + +div.navtabs-tabs > a { + margin: 15px 15px; +} + +div.skribilo-body { + padding: 15px 30px; + background: white; + line-height: 1.5em; +} + +div.skribilo-ending { + background: url("gears-down.png"); + background-position: top; + background-repeat: repeat-x; + padding: 15px; + padding-top: 150px; + text-align: right; +} |