-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (89 loc) · 1.62 KB
/
style.css
File metadata and controls
105 lines (89 loc) · 1.62 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background-color: #dbe2ef;
}
.card {
width: 400px;
overflow: hidden;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
border-radius: 15px;
box-shadow: 7px 13px 37px rgba(0, 0, 0, .6);
}
header {
width: 100%;
height: 200px;
overflow: hidden;
position: relative;
}
header::before {
content: '';
position: absolute;
border-top: 30px solid transparent;
border-left: 400px solid white;
bottom: 0;
}
header img {
width: 100%;
height: 199px;
}
section {
padding: 10px;
overflow: hidden;
text-align: center;
}
section h2 {
margin: .5em 0;
}
section p {
margin: 1em 0;
}
ul li {
list-style: none;
display: inline-block;
margin: .5em .2em;
}
ul li a {
text-decoration: none;
color: white;
background: #c11c23;
width: 30px;
height: 30px;
line-height: 30px !important;
border-radius: 50%;
transition: all .3s ease-in-out;
}
ul li a:hover {
transform: scale(1.2);
}
footer {
width: 100%;
height: 80px;
background: #c11c23;
color: white;
position: relative;
}
footer::before {
content: '';
position: absolute;
border-bottom: 30px solid transparent;
border-right: 400px solid white;
top: 0;
}
footer p {
padding: 63px 21px;
font-size: 12px;
}
@media (max-width: 450px) {
.card {
width: 315px;
}
}