-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
125 lines (108 loc) · 1.77 KB
/
home.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
116
117
118
119
120
121
122
123
124
125
.content.has-text-centered {
padding: 10px;
font-size: 1.3rem;
text-align: center;
}
.hero {
height: 500px;
width: 100%;
}
.body {
background-color: aliceblue;
}
#elementEl::after {
content: '|';
margin-left: 5px;
animation: blink 0.7s infinite;
}
@keyframes blink {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
#elementEl {
text-align: center;
font-size: 3rem;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.nav-wrapper {
background-color: black;
}
.body {
color: black;
background: linear-gradient(0deg, #FB84FF, #98CEFF);
height: 100%;
width: 100%;
}
.text-center {
margin-left: 8%;
margin-right: 8%;
display: flex;
justify-content: center;
flex-direction: column;
margin-top: 10px;
margin-bottom: 10px;
height: 500px;
color: black;
}
.cards {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 10%;
margin-top: 10%;
transform: scale(1);
transition: transform 5s ease-in-out;
}
#card1:hover {
transform: scale(1.06);
}
#card2:hover {
transform: scale(1.06);
}
#card3:hover {
transform: scale(1.06);
}
.cards > div {
flex: 1;
background-color: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.cards {
flex-direction: column;
align-items: center;
}
.cards > div {
width: 100%;
max-width: 400px;
}
}
body {
height: 100%;
/* background-color: #1b263b;*/
background-color: #0b132b;
margin: 0;
}
/*
body.dark-mode {
Default text color
} */
.dark-mode-toggle {
background-color: gray;
height: max-content;
width: max-content;
border-radius: 50%;
}
.overflow-hidden {
padding-top: 20px;;
padding-bottom: 20px;;
}
#ps{
border: 5px solid white;
}