-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1.html
More file actions
70 lines (59 loc) · 1.76 KB
/
Copy path1.html
File metadata and controls
70 lines (59 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{% load static %}
<html>
<head>
<title>{{ currentCity }} - 天气预报</title>
<meta charset="utf-8">
<style>
html,body{
width: 100%;
height: 100%;
margin: 0;
text-shadow: 1px 0px 1px #333;
background-image: linear-gradient(#F5654D,#F1A161,#97C8CC);
background-color: #7CC6AE;
background-repeat: no-repeat;
text-align: center;
color: white;
}
header{
font-size: 19px;
line-height: 60px;
}
main .test1{
font-size: 19px;
height: 40%;
background-color: linear-gradient(#F5654D,#F1A161,#97C8CC);
}
main .test2{
font-size: 19px;
height: 20%;
background-color: linear-gradient(#F5654D,#F1A161,#97C8CC);
background-image: url(2.gif);
background-size: 100% 100%;
-moz-background-size: 100% 100%;
-webkit-background-size: 100% 100%;
}
main .test3{
font-size: 19px;
height: 30%;
background-color: linear-gradient(#97C8CC,#F1A161);
}
footer{
width: 90%;
margin: 60px auto 20px auto;
font-size: 13px;
}
</style>
</head>
<body>
<header>{{ currentCity }}</header>
<main>
<div class="test1">1</div>
<div class="test2">
2</div>
<div class="test3">3</div>
</main>
<footer>
</footer>
</body>
</html>