diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2014-10-06 21:25:47 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2014-10-06 21:35:05 +0100 |
| commit | 66f20f462d9b5e02bbbabede9ddd0b16116d48e1 (patch) | |
| tree | 65f29142388735ca0b0148eb94a99c8397a1b072 | |
| parent | befd0a1dc653a432069db498b366d618f7329c80 (diff) | |
Fix /recent stylesheet
| -rwxr-xr-x[-rw-r--r--] | stylesheets/dicksinmyass.css | 62 | ||||
| -rw-r--r-- | templates/themes/recent/recent.html | 5 | ||||
| -rw-r--r-- | templates/themes/recent/recent_dark.css | 8 |
3 files changed, 34 insertions, 41 deletions
diff --git a/stylesheets/dicksinmyass.css b/stylesheets/dicksinmyass.css index c60d4686..f918a33d 100644..100755 --- a/stylesheets/dicksinmyass.css +++ b/stylesheets/dicksinmyass.css @@ -1,36 +1,22 @@ body { - color: #CCCCCC; - background: #1E1E1E; + margin: 0px!important; } -header div.subtitle, h1 { - color: #32DD72; -} - -a:link, a:visited, p.intro a.email span.name { - color: #CCCCCC; - text-decoration: underline; - font-family: sans-serif; -} -a:link:hover, a:visited:hover { - color: #FF0000; - font-family: sans-serif; - text-decoration: underline overline; -} - .box-wrap { max-width: 670px; min-width: 332px; - margin: 30px auto; overflow: auto; + margin: 0px auto; padding: 0; } .box { - background: white; - border: 1px solid #98E; + border: 1px dashed #98E; width: 330px; margin: 8px 0; padding: 0; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; } .box ul { padding: 2px 15px; @@ -38,36 +24,40 @@ a:link:hover, a:visited:hover { .box ul li { list-style: none; margin: 0; + color: #32DD72; +} +.left li { + text-align: center; +} +.left li img { + display: block; + max-height: 300px; + max-width: 300px; } .box.left { - background: #333333; - color: #CCCCCC; - border: #555555 1px solid; + color: #999; + border: #555 1px solid; float: left; } .box.right { - background: #333333; - color: #CCCCCC; - border: #555555 1px solid; + color: #999; + border: #555 1px solid; float: right; } .box h2 { padding: 3px 7px; font-size: 12pt; - border: #555555 1px solid; -} -.box.left h2 { + border-bottom: #555555 1px solid; background: #333333; - color: #CCCCCC; - border: #555555 1px solid; -} -.box.right h2 { - background: #333333; - color: #CCCCCC; - border: #555555 1px solid; + color: #32DD72; } .box img { float: none; margin: 10px auto; } +.box:nth-child(3){ + margin-top: -2px; + position: relative; + right: 0px; +} diff --git a/templates/themes/recent/recent.html b/templates/themes/recent/recent.html index 51eda9e3..637441cb 100644 --- a/templates/themes/recent/recent.html +++ b/templates/themes/recent/recent.html @@ -4,8 +4,9 @@ <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>{{ settings.title }}</title> - <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/> - <link rel="stylesheet" media="screen" href="{{ config.root }}{{ settings.css }}"/> + <link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/style.css"/> + <link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/dark.css"/> + <link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/dicksinmyass.css"/> {% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %} </head> <body> diff --git a/templates/themes/recent/recent_dark.css b/templates/themes/recent/recent_dark.css index c59214ac..5e1bed71 100644 --- a/templates/themes/recent/recent_dark.css +++ b/templates/themes/recent/recent_dark.css @@ -9,13 +9,15 @@ header div.subtitle, h1 { a:link, a:visited, p.intro a.email span.name { color: #CCCCCC; - text-decoration: underline; + text-decoration: none; font-family: sans-serif; + transition: text-shadow 0.15s ease 0s color 0.15s ease 0s; } a:link:hover, a:visited:hover { - color: #FF0000; + color: #32DD72; font-family: sans-serif; - text-decoration: underline overline; + text-decoration: none; + text-shadow: 0px 0px 5px #FFF; } .box-wrap { |
