version 3.1.1:
* added background texture for .middle * removed accidental </br> which caused W3 validation to fail New design is now complete. --HG-- rename : res/ios-linen.jpg => res/hbg.jpg
This commit is contained in:
parent
ac1a4ddcb0
commit
87924c405d
6 changed files with 7 additions and 6 deletions
BIN
res/bg.gif
Normal file
BIN
res/bg.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -35,7 +35,7 @@ input, textarea, select {
|
|||
|
||||
/* site sections */
|
||||
.header {
|
||||
background: url(/static/ios-linen.jpg);
|
||||
background: url(/static/hbg.jpg);
|
||||
z-index: 4;
|
||||
padding-left: 20px;
|
||||
padding-bottom: 70px;
|
||||
|
@ -54,12 +54,12 @@ input, textarea, select {
|
|||
display: block;
|
||||
width: 100%;
|
||||
padding-top: 40px;
|
||||
background-color: #EEE;
|
||||
background: url(/static/bg.gif);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background: url(/static/ios-linen.jpg);
|
||||
background: url(/static/hbg.jpg);
|
||||
z-index: 4;
|
||||
position: relative;
|
||||
background-color: #4A525A;
|
||||
|
|
1
res/blogv311.css
Normal file
1
res/blogv311.css
Normal file
|
@ -0,0 +1 @@
|
|||
@charset UTF-8;@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'), local(PTSans-Regular), url(http://themes.googleusercontent.com/static/fonts/ptsans/v2/7YGmE4Ls5b94ct65u07hVQLUuEpTyoUstqEm5AMlJo4.woff) format(woff);}html,body{margin:0;padding:0;}body{font-family:'PT Sans', sans-serif;min-height:850px;color:#EEE;}a{color:#000;}input,textarea,select{border:1px solid #555;font-size:15px;line-height:1.2em;width:550px;background:#F9F9F9;-webkit-border-radius:.5em;padding:.5em;}.header{background:url(/static/hbg.jpg);z-index:4;padding-left:20px;padding-bottom:70px;padding-top:30px;position:relative;box-shadow:0 6px 5px 1px #343537;}.link{color:#EEE;}.middle{position:relative;z-index:2;display:block;width:100%;padding-top:40px;background:url(/static/bg.gif);color:#000;}.footer{background:url(/static/hbg.jpg);z-index:4;position:relative;background-color:#4A525A;margin-top:30px;padding-top:20px;box-shadow:0 -6px 5px 1px #343537;color:#EEE;}.btitle{text-decoration:none;color:#EEE;font-size:x-large;font-weight:700;margin-top:15px;margin-bottom:10px;}.contacts{float:left;font-weight:bolder;}.righttext{float:right;padding-right:20px;}.rightbox{text-align:right;padding-right:14px;}.innerTitle{margin-left:10px;font-weight:700;}.innerBoxComments{margin-left:10px;}.innerContainer{padding-right:20px;}.centerbox{text-align:center;min-height:45px;}.cInput{margin-left:15px;}.tt{font-family:"courier new",courier,monospace;font-size:13px;}.cl{text-decoration:none;color:#000;}.cHead{font-size:large;font-weight:700;}.notFoundFace{text-align:center;font-size:100px;}.notFoundText{text-align:center;font-size:24px;font-weight:700;}
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
@ -43,7 +43,7 @@ blogTemplate lang t_append body = H.docTypeHtml $ do --add body
|
|||
H.head $ do
|
||||
H.title $ (toHtml $ blogTitle lang t_append)
|
||||
H.link ! A.rel "alternate" ! A.type_ "application/rss+xml" ! A.title "RSS-Feed" ! A.href "/rss"
|
||||
H.link ! A.rel "stylesheet" ! A.type_ "text/css" ! A.href "/static/blogv31.css" ! A.media "all"
|
||||
H.link ! A.rel "stylesheet" ! A.type_ "text/css" ! A.href "/static/blogv311.css" ! A.media "all"
|
||||
H.meta ! A.httpEquiv "content-type" ! A.content "text/html;charset=UTF-8"
|
||||
--H.style ! A.type_ "text/css" ! A.title "iOS iMessage" ! A.media "screen and (max-device-width: 1024px)" $ "#cosx{display:none;}"
|
||||
preEscapedText analytics
|
||||
|
@ -88,7 +88,7 @@ renderEntries showAll entries topText footerLinks = do
|
|||
when ( mtext e /= T.empty ) $
|
||||
H.p $ entryLink e $ readMore $ lang e
|
||||
unless ( mtext e /= T.empty ) $
|
||||
preEscapedText "<br> </br>"
|
||||
preEscapedText "<br> "
|
||||
entryLink :: Entry -> Text -> Html
|
||||
entryLink e s = H.a ! A.href (toValue $ concat $ intersperse' "/" $ linkElems e) $
|
||||
toHtml (T.concat ["[", s, "]"])
|
||||
|
|
|
@ -13,7 +13,7 @@ import BlogDB (BlogLang (..))
|
|||
|
||||
data BlogError = NotFound | DBError
|
||||
|
||||
version = "3.1"
|
||||
version = "3.1.1"
|
||||
|
||||
allLang = [EN, DE]
|
||||
|
||||
|
|
Loading…
Reference in a new issue