summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJosé Mota <josemota.net@gmail.com>2012-05-22 19:00:29 +0100
committerJosé Mota <josemota.net@gmail.com>2012-05-22 19:00:29 +0100
commitb2182dae57b6b5e04536028562b65ca3440ae543 (patch)
treef19070acc18a16d264f4561fa1b0239b60ceca15 /css
parentb7f81beef560caed97d6159f060f744be59fb24f (diff)
Preparing new blog layout.
Diffstat (limited to 'css')
-rw-r--r--css/images/bg.pngbin32875 -> 508038 bytes
-rw-r--r--css/images/logo.pngbin0 -> 4058 bytes
-rw-r--r--css/main.css58
3 files changed, 43 insertions, 15 deletions
diff --git a/css/images/bg.png b/css/images/bg.png
index a9d81b3..fc44ec1 100644
--- a/css/images/bg.png
+++ b/css/images/bg.png
Binary files differ
diff --git a/css/images/logo.png b/css/images/logo.png
new file mode 100644
index 0000000..704e195
--- /dev/null
+++ b/css/images/logo.png
Binary files 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;
+}