-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
140 lines (125 loc) · 2.3 KB
/
main.css
File metadata and controls
140 lines (125 loc) · 2.3 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
131
132
133
134
135
136
137
138
139
140
*,*::before, *::after{
margin: 0;
padding: 0;
}
html,body {
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
background-color: #fdfdfd;
font-family: sans-serif;
}
.hero{
width: 60%;
height: 40%;
margin: auto;
display: grid;
justify-items: center;
align-items: center;
grid-template-areas:
" logo "
" content "
" button ";
}
.cols{
width: 70%;
display: grid;
margin: auto;
justify-items: center;
align-items: center;
grid-template-areas: "hard firm soft";
grid-column-gap: 30px;
}
@keyframes grow {
0% {
box-shadow: 1px 2px 8px #ccc;
}
25% {
box-shadow: 2px 3px 12px #ccc;
}
50% {
box-shadow: 2px 4px 16px #ccc;
}
75% {
box-shadow: 2px 4px 20px #ccc;
}
100% {
box-shadow: 2px 4px 24px #ccc;
}
}
.cols div:hover{
animation: grow 0.5s ease-in 0s 1 normal forwards;
-webkit-animation: grow 0.5s ease-in 0s 1 normal forwards;
background-color: white;
/* border: rgb(255, 182, 0) 2px solid; */
/* cursor: pointer; */
}
a{
text-decoration: none;
color: black;
}
.logo{
grid-area: "logo";
}
.logo img {
max-height: 10vh;
max-width: 15vw;
}
.content{
grid-area: "content";
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
text-align: center;
}
button{
grid-area: "button";
background-color: rgb(255, 182, 0);
padding: 10px;
border: none;
color: white;
border-radius: 4px;
font-weight: bold;
/* box-shadow: 4px 8px 24px #ccc; */
cursor: pointer;
}
.content h1 {
margin: auto;
text-align: center;
padding-bottom: 16px;
}
.cols div {
padding: 8px 16px;
/* box-shadow: 1px 2px 8px #ccc; */
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
height: 40vh;
border-radius: 8px;
border: 2px solid transparent;
}
.cols div img {
padding-bottom: 12px;
}
.cols div p {
font-size: 12px;
padding: 8px 16px;
text-align: center;
line-height: 1.2rem;
}
.cols div a {
margin: 12px auto 0 auto;
}
.hard {
grid-area: "hard";
}
.soft{
grid-area: "soft";
}
.firm {
grid-area: "firm";
}