From 2950b6abdad62fdd74682880acdec32f9b417420 Mon Sep 17 00:00:00 2001 From: m-r-r Date: Sat, 9 Jun 2012 18:51:54 +0200 Subject: [dev-random] corrected url bugs --- dev-random/static/css/main.css | 29 ++++++++++++++++++++++++----- dev-random/static/css/skeleton.css | 6 ------ dev-random/static/img/corner.png | Bin 3629 -> 3671 bytes dev-random/templates/article.html | 10 +++++----- dev-random/templates/index.html | 4 ++-- 5 files changed, 31 insertions(+), 18 deletions(-) (limited to 'dev-random') diff --git a/dev-random/static/css/main.css b/dev-random/static/css/main.css index e9df3d2..39d8b62 100644 --- a/dev-random/static/css/main.css +++ b/dev-random/static/css/main.css @@ -45,11 +45,32 @@ a { text-decoration: none; } - a:hover { text-decoration: underline; } +img, table, pre { + margin: 1em .5em; + padding: .25em; + border: thin solid silver; + overflow: auto; +} + +figure { + display: block; + margin: 1em auto; + border: thin solid silver; + text-align: center; + font-size: .9em; +} + +figure img { + margin: .1em; + padding: .1em; + border: none; + max-width: 100%; + overflow: auto; +} pre { margin: 1em .5em; @@ -213,7 +234,7 @@ table tr { // GitHub button -@media screen and (min-width: 600px) { +@media screen and (min-width: 800px) { #github-link { display: block; position: absolute; @@ -226,12 +247,10 @@ table tr { border: none; text-decoration: none; color: transparent; - font-size: 0px; - text-decoration: none; + font-size: 0; } } - // Tag list ul#tagslist { diff --git a/dev-random/static/css/skeleton.css b/dev-random/static/css/skeleton.css index bcc9eba..dba964f 100644 --- a/dev-random/static/css/skeleton.css +++ b/dev-random/static/css/skeleton.css @@ -38,12 +38,6 @@ body, .page { float: left; } -img, table, pre { - max-width: 98%; - margin: 1em 1%; - overflow: auto; -} - @media screen and (min-width: 800px) { .page { margin: 5% 10%; } } diff --git a/dev-random/static/img/corner.png b/dev-random/static/img/corner.png index 52e8690..e3f76cc 100644 Binary files a/dev-random/static/img/corner.png and b/dev-random/static/img/corner.png differ diff --git a/dev-random/templates/article.html b/dev-random/templates/article.html index 827698f..7255fbc 100644 --- a/dev-random/templates/article.html +++ b/dev-random/templates/article.html @@ -23,8 +23,8 @@
- Dans «{{ article.category }}» - par {{ article.author}} + Dans «{{ article.category }}» + par {{ article.author}} {% if article.translations %}    Langues: {{ article.lang or DEFAULT_LANG }} @@ -39,9 +39,9 @@
{% if DISQUS_SITENAME %} diff --git a/dev-random/templates/index.html b/dev-random/templates/index.html index c098ddc..0c27024 100644 --- a/dev-random/templates/index.html +++ b/dev-random/templates/index.html @@ -18,8 +18,8 @@
- Dans «{{ article.category }}» - par {{ article.author}} + Dans «{{ article.category }}» + par {{ article.author }} {% if article.translations %}    Langues: {{ article.lang or DEFAULT_LANG }} -- cgit v1.1