-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
140 lines (140 loc) · 2.38 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
html, body {
margin: 0;
padding: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1;
background-color: #EEEEEE;
}
a{
color: black;
}
img {
width: 100%;
}
h1 {
color: #B10021;
margin: 20px auto;
width: 146px;
}
.mobile {
display: none;
}
.nav-bar {
background-color: #B10021;
height: 45px;
padding: 4px 0px;
}
.nav-bar ul {
padding: 0;
}
.nav-bar ul li {
list-style: none;
width: 19%;
text-align: center;
color: #fff;
padding-top: 8px;
padding-bottom: 8px;
margin-top: -8px;
border-radius: 6px;
display: inline-block;
}
.nav-mobile {
display: none;
}
.row_1, .row_2, .row_3 {
display: inline;
}
.img-box {
width: 24%;
margin: 10px 3%;
background-color: #fff;
padding: 1%;
display: inline-block;
position: relative;
}
.img-box h3 {
font-weight: normal;
color: #B10021;
text-align: center;
}
.cover {
text-align: center;
position: absolute;
background-color: #B10021;
opacity: 0.9;
display: none;
width: 100%;
height: 100%;
top: 0;
left: 0;
transition: all 50ms ease-in-out;
}
.cover i {
padding: 1%;
background-color: #ffffff;
border-radius: 4px;
margin-top: 37%;
}
footer {
margin: 0 auto;
width: 325px;
}
@media screen and (min-width: 1000px) {
.img-box {
width: 11.5%;
}
.row_1, .row_2, .row_3 {
display: block;
text-align: center;
}
.img-box h3 {
font-size: 15px;
}
.cover i {
margin-top: 48%;
}
}
@media screen and (max-width:1000px) {
.nav-bar:hover {
cursor: pointer;
}
.mobile-nav {
background-color: #2A2A2A;
display: none;
margin: 0;
padding: 0;
}
.mobile-nav li {
display: block;
text-align: center;
border-bottom: 1px solid #444444;
border-radius: initial;
width: 100%;
line-height: 3em;
color: #fff;
}
.mobile {
display: block;
text-align: center;
font-size: 1.5em;
color: #fff;
}
.mobile i {
line-height: 1.75em;
}
.img-box {
width: 41.5%;
}
.cover i {
margin-top: 41%;
}
}
@media screen and (max-width:767px) {
.img-box {
width: 92%;
}
.cover i {
margin-top: 38%;
}
}