diff options
author | JinweiClarkChao <[email protected]> | 2014-09-23 22:34:14 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:44 +0800 |
commit | b214f38d2c24a890ce36512a0c8bab965e27a508 (patch) | |
tree | 1522b651444407cbf120798e79be4657f1b472ab /Code/ZJW/stylesheets/all.css | |
parent | e13882d1656b143533cec307a19425e0a56ec999 (diff) | |
download | jinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz |
README
Diffstat (limited to 'Code/ZJW/stylesheets/all.css')
-rw-r--r-- | Code/ZJW/stylesheets/all.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Code/ZJW/stylesheets/all.css b/Code/ZJW/stylesheets/all.css new file mode 100644 index 0000000..7c9f15d --- /dev/null +++ b/Code/ZJW/stylesheets/all.css | |||
@@ -0,0 +1,30 @@ | |||
1 | body { | ||
2 | background: rgba(21, 32, 46, 1); | ||
3 | text-align: center; | ||
4 | } | ||
5 | |||
6 | .logo { | ||
7 | position: absolute; | ||
8 | z-index: 2; | ||
9 | left: 50%; | ||
10 | top: 50%; | ||
11 | -webkit-transform: translateY(-50%); | ||
12 | -ms-transform: translateY(-50%); | ||
13 | transform: translateY(-50%); | ||
14 | width: 385px; | ||
15 | height: 125px; | ||
16 | margin-left: -192.5px; | ||
17 | background: url(/images/logo.png); | ||
18 | background-size: 100%; | ||
19 | opacity: 1; | ||
20 | } | ||
21 | |||
22 | canvas { | ||
23 | position: absolute; | ||
24 | top: 0; | ||
25 | left: 0; | ||
26 | z-index: 1; | ||
27 | width: 100%; | ||
28 | height: 100%; | ||
29 | display: block; | ||
30 | } | ||