aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2014-02-20 12:50:15 +0800
committerJinweiClarkChao <[email protected]>2014-02-20 12:52:51 +0800
commit31fb10f393fbfd4d7adf528ec70624d2b8d247a8 (patch)
tree1009bb2a4f5fe89b8bc822b68104018ea8df5261 /Blocks/post/style.css
parentbe404e3e01ca839e730c884309c25abef10863c9 (diff)
downloadjinwei.me-31fb10f393fbfd4d7adf528ec70624d2b8d247a8.tar.gz
Six Blocks Version
Diffstat (limited to 'Blocks/post/style.css')
-rw-r--r--Blocks/post/style.css62
1 files changed, 62 insertions, 0 deletions
diff --git a/Blocks/post/style.css b/Blocks/post/style.css
new file mode 100644
index 0000000..3507ef8
--- /dev/null
+++ b/Blocks/post/style.css
@@ -0,0 +1,62 @@
1@import url(http://fonts.googleapis.com/css?family=Codystar);
2
3body {
4 background: white;
5 margin: 0;
6}
7
8section {
9 margin: auto;
10 margin-top: 10px;
11 background: #333;
12 background-size:550px;
13 width: 700px;
14 height: 419px;
15 color: white;
16 font-family: Codystar, san-serif;
17 position: relative;
18 border: 20px solid white;
19 outline: 1px solid #Ccc;
20}
21
22.imageblock {
23 margin-top:0px;
24 height:419px;
25 width:350px;
26 background: url('http://codecademy-content.s3.amazonaws.com/projects/wHS5Dt/champagne.png');
27 background-position: 0px 0px;
28
29}
30/* Image CC Some rights reserved by Alan Kim - http://www.flickr.com/photos/igraph/8329238413/sizes/l/ */
31
32h1 {
33 /* Any styles here just affect your "<h1>" tags. */
34 font-size: 65px;
35 position: absolute;
36 margin: 0;
37 top: 50px;
38 left: 400px;
39}
40
41h2 {
42 font-size: 14px;
43 position: absolute;
44 margin: 0;
45 top: 320px;
46 left: 400px;
47 font-family: arial;
48 font-weight:normal;
49}
50
51p {
52
53 margin: 0;
54 padding-top: 60px;
55 padding-left: 100px;
56}
57
58img {
59 position: absolute;
60 top: 200px;
61 left: 120px;
62}
Powered by cgit v1.2.3 (git 2.41.0)