-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
130 lines (112 loc) · 2.17 KB
/
Copy pathstyle.css
File metadata and controls
130 lines (112 loc) · 2.17 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
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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
/* RESETING CSS AND SETTING THE FONT */
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: Poppins, sans-serif;
}
/* CONFIGURING THE PAGE */
body{
background-image: linear-gradient(#E5F1EC, #bde2cc);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
min-height: 100vh;
}
/* PAGE HEADER */
header{
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 20px 10px;
}
.logo{
width: auto;
height: 12vh;
}
/* IMAGE CONTAINER */
.imgbx{
height: 40vh;
width: 40vh;
display: flex;
align-items: center;
justify-content: center;
margin: auto;
}
.image{
height: 40vh;
filter: grayscale(100%) brightness(0%);
overflow: hidden;
transition: 1s;
}
/* OPTIONS CONTAINER */
.options{
width: 515px;
height: 155px;
column-count: 2;
margin: auto;
}
/* BUTTON STYLE */
.btn{
background: #bde2cc;
width: 250px;
height: 65px;
padding: 5px;
margin: 0px 0px 25px 0px;
display: flex;
align-items: center;
justify-content: flex-start;
cursor: pointer;
box-shadow: 4px 4px;
transition: 0.5s;
}
/* SETTING BUTTON ANIMATION */
.btn:active{
animation: shake 1s linear;
}
@keyframes shake{
0%{margin-left: 0px;}
25%{margin-left: 10px;}
50%{margin-left: 0px;}
75%{margin-left: -10px;}
100%{margin-left: 0px}
}
.btn:hover{
background: #a5c0da ;
}
/* FOR SMALLER SCREENS */
@media (max-width: 450px){
.logo{
width: 100%;
height: auto;
}
/* IMAGE CONTAINER */
.imgbx{
width: 30vh;
height: 30vh;
}
.image{
height: 40vh;
}
/* OPTIONS CONTAINER */
.options{
width: 280px;
height: 290px;
padding: 5px;
column-count: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
overflow-y: hidden;
}
/* BUTTON */
.btn{
width: 250px;
height: 55px;
margin: auto;
}
}