-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (110 loc) · 2.26 KB
/
style.css
File metadata and controls
122 lines (110 loc) · 2.26 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
body
{
background-image: linear-gradient(-225deg, #69EACB 0%, #EACCF8 48%, #6654F1 100%);
}
*
{
font-family: cursive;
margin: 0; padding: 0;
box-sizing: border-box;
outline: none; border:none;
text-decoration: none;
text-transform: capitalize;
transition: .2s linear;
}
.container
{ padding: 15px ;
padding-top: 100px;
padding-bottom: 90px;
margin-top: 0;
}
header
{
width: 100%;
font-family: Rampart One;
font-size: 50px;
background: rgb(255,74,28);
background: linear-gradient(90deg, rgba(255,74,28,1) 0%, rgba(255,255,255,1) 50%, rgba(3,121,19,1) 100%);
position: fixed;
text-shadow: 0 2px 10px rgba(0,0,0.2);
z-index: 1;
}
footer
{
width: 100%;
bottom: 0px;
font-family: Rampart One;
font-size: 40px;
margin-bottom: 0px;
background-image: linear-gradient(120deg, #89f7fe 0%, #023e8a 100%);
text-shadow: 0 2px 10px rgba(0,0,0.2);
position: fixed;
z-index: 1;
}
.container
{
display: grid;
grid-template-columns: repeat(auto-fit,minmax(430px, 1fr));
gap: 60px;
animation: animate 1s ease-in-out;
}
.container .box
{
background-image: linear-gradient(to bottom, #96fbc4 55%, #f9f586 100%);
box-shadow: 0 5px 10px rgba(0,0,0,.2);
border-radius: 20px;
text-align: center;
padding-top: 15px;
padding-bottom: 10px;
}
.container .box h2
{
font-size: 22px;
font-family:cursive;
}
.container .box img
{
height: 240px;
width: 320px;
border-radius: 20px;
z-index: 0;
animation: animate 0.9s ease-in-out;
}
@keyframes animate
{
0%
{
opacity: 0;
transform: scale(.5);
}
100%
{
opacity: 1;
transform: scale(1);
}
}
.container .box p
{
font-size: 18px;
line-height: 2;
}
.container .box .btn
{
margin-top: 10px;
display: inline-block;
background: #0077b6;
color: white;
font-size: 17px;
border-radius: 8px;
padding: 6px 10px;
}
.container .box .btn:hover
{
letter-spacing: 0.4px;
transform: scale(1.03);
}
.container .box:hover
{
box-shadow: 0 10px 15px rgba(0,0,0,.4);
transform: scale(1.02);
}