forked from Hackathon7/Pacify-final
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newstyle.css
115 lines (105 loc) · 2.19 KB
/
newstyle.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
html {
overflow-x: hidden;
scroll-behavior: smooth;
}
.svgMain {
text-align: center;
}
svg{
font-weight:bold;
max-width:600px;
height:auto;
}
@import url(https://fonts.googleapis.com/css?family=Cabin+Condensed);
body {
background: #3E5151;
background: #e6ffee;
font-family: 'Cabin Condensed', sans-serif;
}
/* heading */
.styles {
display: flex;
justify-content: space-around;
margin: 0 auto;
margin-top: 4vmin;
flex-wrap: wrap;
/* flex-direction: column; */
}
.stylebox {
display: flex;
flex-direction: column;
flex-wrap: wrap;
background: #000000d0;
color: white;
border-radius: 30px;
padding: 1rem;
text-align: center;
font-family: "Poppins", sans-serif;
margin: 1.5rem;
border: none;
width: 20rem;
justify-content: center;
transition: 0.2s;
}
.stylebox:hover {
transform: scale(1.02);
}
.stylebox .image {
width: 20rem;
height: 13rem;
}
.stylebox .image img {
background-size: cover;
width: 100%;
height: 100%;
border-radius: 0.5rem;
image-rendering: pixelated;
}
.stylebox p {
text-align: left;
font-size: 1.2rem;
font-weight: 600;
text-transform: capitalize;
}
.stylebox .btn-group {
display: flex;
justify-content: space-between;
gap: 1rem;
}
.stylebox a {
background-color: white;
border: none;
border-radius: 0.5rem;
padding: 1vmin;
font-size: 1.2rem;
background-color: rgb(106, 114, 112);
color: rgb(255, 255, 255);
text-decoration: none;
transition: 0.2s;
width: 100%;
}
a:hover {
background-color: rgb(148, 168, 163);
cursor: pointer;
}
@media only screen and (max-width: 600px) {
.styles {
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: space-around;
margin: 0 auto;
margin-top: 4vmin;
}
.stylebox {
padding: 0.5rem;
margin: auto;
width: 18rem;
margin-bottom: 1.5rem;
}
.stylebox .image {
width: 18rem;
height: 12rem;
border-radius: 0.5rem;
}
}