-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
130 lines (118 loc) · 3.13 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
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
*{
margin: 0;
padding: 0;
box-sizing:border-box;
font-family:'Luminari', fantasy;
}
#container {
position: absolute;
top: 0;
left: 0;
width: 0%;
height: 0%;
}
#canvas1 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.hero{
background-color: #151c20;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
min-height: 100vh;
background-position: center;
background-size: cover;
padding: 10px 10%;
overflow: hidden;
}
.press-button{
display: flex;
align-items: center;
justify-content: center;
width: 100px;
height: 100px;
background-color: rgb(255, 252, 251);
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 25px;
color: red;
transition: background-color 0.3s ease, filter 0.3s ease;
transform: scale(1); /* Reset the scale */
position: relative; /* Add position relative for positioning the triangle */
}
.press-button:active {
transform: scale(0.80);
}
nav{
padding: 10px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10px 15px;
}
nav ul li a{
text-decoration: none;
color: #ffffff;
font-size: 25px
}
ul:hover{
color: red;
}
.logo{
background-image: url(../picture/DND_logo_cut.png);
display: flex;
justify-content: left;
align-items: left;
width: 10%;
min-height: 16vh;
background-position: left;
background-size: cover;
padding: 10px 10%;
overflow: hidden;
}
.top-panel {
background: linear-gradient(to bottom,#8B4513, #654321);
box-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
color: #fff;
padding: 10px 0;
}
.nav-links a:hover {
text-decoration: underline;
color: #e74c3c;
}
.record{
display: flex;
justify-content: flex-start;
align-items: center;
height: 100vh; /* Full viewport height */
padding-left: 20px; /* Adjust as needed */
padding-right: 20px;
color: #ffffff;
}
h1 {
font-size: 40px;
margin: 0;
}
.press-button {
/* ... your existing styles ... */
transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease; /* Added color transition */
position: relative;
overflow: hidden;
font-size: 45px; /* Adjust font size for symbols */
}
.press-button::before {
/* ... your existing styles ... */
transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease; /* Added color transition */
font-size: 45px; /* Adjust font size to control triangle size */
color: rgb(255, 0, 0); /* Set the triangle color */
}