-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
119 lines (117 loc) · 1.67 KB
/
style.css
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 8px;
}
body {
font-family: "Open Sans", sans-serif;
font-size: 1.6rem;
color: #fff;
line-height: 1.5;
text-align: center;
background: #333;
}
a {
text-decoration: none;
}
p {
padding: 1.6rem 0;
}
header {
height: 45rem;
}
header .bg-image {
position: absolute;
background-image: url(picture_pack/code.jpg);
height: 45rem;
background-size: cover;
background-position: center;
width: 100%;
opacity: 0.2;
z-index: -1;
}
header h1 {
padding: 11rem;
padding-bottom: 0;
}
img {
width: 100%;
height: auto;
}
.btn {
display: inline-block;
background: #333;
color: #777;
border: 1px solid #666;
padding: 1.6rem 3.2rem;
margin: 0.5rem;
transition: all 0.3s;
}
.btn:hover {
background-color: #eaeaea;
color: #333;
}
#section-a {
background-color: #eaeaea;
color: #333;
padding: 3.2rem 0;
}
#section-b {
padding: 2rem;
}
#section-b ul {
list-style: none;
}
#section-b li {
background: #fff;
color: #333;
margin-bottom: 1.2rem;
}
.col-content {
padding: 1.5rem;
}
#section-c {
background-color: #eaeaea;
color: #333;
padding: 5rem;
}
#section-d .box {
padding: rem;
}
#section-d .box:first-child {
background-color: #2690d4;
}
footer {
padding: 4rem;
background: #000;
}
footer a {
color: #2690d4;
}
@media screen and (min-width: 1200px) {
#section-b li {
width: 28%;
margin: 1%;
display: inline-block;
}
.box {
width: 50%;
float: left;
}
html {
font-size: 10px;
}
}
@media screen and (min-width: 800px) {
html {
font-size: 9px;
}
}
.clearfix::after {
content: "";
display: block;
clear: both;
}