-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
58 lines (51 loc) · 1.37 KB
/
style.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
/* styles.css */
/* Set font to Lexend, background to black, and text color to white */
body {
font-family: 'Lexend', sans-serif;
background-color: black;
color: white; /* Text color set to white for better visibility */
cursor: url('mouse.svg'), auto; /* Set custom cursor */
}
/* Remove blue color and underline from links within elements with the class "navbar" */
.navbar a {
text-decoration: none;
color: inherit;
}
/* Define the keyframes for the rotating animation */
@keyframes rotating {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* Apply the animation to the .rotating class */
.rotating {
display: flex;
justify-content: center;
align-items: center;
height: 200px; /* Adjust height as needed */
}
.rotating h1 {
animation: rotating 2s linear infinite;
transform-origin: center center;
}
/* Modern button styling */
.modern-button {
display: inline-block;
border: none;
background-color: #4CAF50;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.modern-button:hover {
transform: scale(1.1);
background-color: #45a049;
}