-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (86 loc) · 1.74 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-size: 14px;
background-color: hsl(30, 38%, 92%);
font-family: 'Montserrat', sans-serif;
;
}
@media all and (max-width:455px) {
.logo {
grid-column: 1/2;
grid-row: 1/2;
}
.align .card .logo {
border-top-right-radius: 7px;
border-bottom-left-radius: 0px;
width: 253px;
z-index: 100;
grid-column: 1/2;
grid-row: 1/2;
}
.align .card {
display: flex;
/* grid-template-rows:repeat(3,1fr) ; */
margin-left: 18px;
height: 729px;
width: 253px;
align-items: center;
flex-direction: column;
}
.content {
grid-column: 1/2;
grid-row: 2/3;
}
.content .btn a {
padding: 10px 45px;
margin-left: 25px;
}
}
img {
width: 100%;
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
}
.logo {
width: 220px;
z-index: 0;
}
.card {
display: grid;
grid-template-columns: repeat(2, 1fr);
width: 460px;
height: 330px;
background-color: white;
border-radius: 7px;
}
.content {
padding: 16px 17px;
}
.align {
display: flex;
justify-content: center;
margin-top: 200px;
}
.p {
display: flex;
align-items: center;
justify-content: space-around;
}
.btn {
margin-top: 30px;
}
.btn a {
text-decoration: none;
background-color: hsl(158, 36%, 37%);
color: white;
padding: 12px 55px;
border-radius: 8px;
transition: all 0.2s ease-in-out;
}
.btn a:hover {
background-color: hsl(212, 21%, 14%);
}