From b2182dae57b6b5e04536028562b65ca3440ae543 Mon Sep 17 00:00:00 2001 From: José Mota Date: Tue, 22 May 2012 19:00:29 +0100 Subject: Preparing new blog layout. --- css/images/bg.png | Bin 32875 -> 508038 bytes css/images/logo.png | Bin 0 -> 4058 bytes css/main.css | 58 ++++++++++++++++++++++++++++++++++++++-------------- 3 files changed, 43 insertions(+), 15 deletions(-) create mode 100644 css/images/logo.png (limited to 'css') diff --git a/css/images/bg.png b/css/images/bg.png index a9d81b3..fc44ec1 100644 Binary files a/css/images/bg.png and b/css/images/bg.png differ diff --git a/css/images/logo.png b/css/images/logo.png new file mode 100644 index 0000000..704e195 Binary files /dev/null and b/css/images/logo.png differ diff --git a/css/main.css b/css/main.css index 3c106fa..c8912ab 100644 --- a/css/main.css +++ b/css/main.css @@ -1,18 +1,41 @@ body, h1, h2, h3, h4, h5, h6, p, li, ol, ul, blockquote, code, pre { margin: 0; padding: 0; - color: #333333; + color: #444444; font-size: 14px; - font-family: "Gentium Book Basic", Georgia, serif; + font-family: "PT Serif", Georgia, serif; -webkit-font-smoothing: antialiased; } body { - background: #47111e url("images/bg.png"); } + background: rgb(185,179,162) url("images/bg.png"); + background: -webkit-radial-gradient( + top center, + ellipse contain, + rgba(255,255,255,1), + rgba(255,255,255,0)) + , url("images/bg.png"); +} h1 { - margin: 51px 0 51px -160px; + margin: 36px 0 0; text-align: center; - font: italic 2em normal "Baskerville", "PT Serif", Georgia, serif; } + font: italic 1.8em normal "Baskerville", "PT Serif", Georgia, serif; } + +a { + text-decoration: none; + color: #000; + opacity: .3; +} +a:before { + content: "†"; + margin-right: .3em; + font-weight: bold; + -webkit-transition-duration: .2s; +} +a:hover { + -webkit-transform: scale(1.1); + opacity: 1; +} p, li { line-height: 18px; } @@ -45,9 +68,6 @@ pre { padding: 0 .1em; } pre code { color: rgb(130,146,148) } aside { - margin-left: -170px; - float: left; - width: 150px; text-align: right; } aside p, aside li { font-size: 12px; @@ -55,14 +75,22 @@ aside { line-height: 15px; } #bucket { - background: white; - width: 420px; - margin: 50px auto; - padding: 75px 75px 75px 225px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.75); } + background: rgba(255,255,255,.8); + width: 480px; + margin: 120px auto; + padding: 35px; + box-sizing: border-box; + box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 5px 5px rgba(0, 0, 0, 0.45); } #logo { - background: url("images/logo.jpg") no-repeat center; + background: url("images/logo.png") no-repeat center; height: 54px; - margin: 20px 0 0 -160px; + margin: 20px 0 0 0px; text-indent: -9999px; } + +#slogan { + text-align: center; + color: rgba(0,0,0,.3); + margin-top: 0.2em; + margin-bottom: 4em; +} -- cgit v1.2.3-54-g00ecf