-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·123 lines (108 loc) · 2.25 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
* {
margin: 0;
padding: 0;
font-family: sans-serif;
list-style: none;
text-decoration: none;
}
body {
background-image: url('./lib/media/favicon.jpeg');
background-size: cover; /* Pour ajuster la taille de l'image à la taille de l'écran */
background-position: center; /* Pour centrer l'image */
/* background: rgb(55, 41, 16);
background: radial-gradient(circle, rgba(55, 41, 16, 1) 0%, rgba(0, 0, 0, 1) 100%); */
backdrop-filter: blur(20px); /* Filtre de flou */
width: 100vw;
height: 100vh;
}
#texte-auto {
text-align: center;
color: #C28C2E;
font-size: 50px;
font-family: Arial, sans-serif;
white-space: nowrap; /* Pour éviter les sauts de ligne inutiles */
overflow: hidden; /* Pour cacher le texte qui dépasse */
animation: typing 3s steps(40, end); /* Animation pour simuler la frappe */
}
/* Animation pour simuler la frappe */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.text-container{
padding: 15px;
width: 600px;
margin: auto;
}
.menu {
width: 300px;
border-radius: 8px;
overflow: hidden;
}
.item {
border-top: 1px solid #000;
overflow: hidden;
background: #C28C2E;
color: #222220;
}
.btn {
display: block;
padding: 16px 20px;
background: #C28C2E;
color: #222220;
position: relative;
font-weight: bold;
}
.btn:before {
content: "";
position: absolute;
width: 14px;
height: 14px;
background: #C28C2E;
left: 20px;
bottom: -7px;
transform: rotate(45deg);
}
.btn i {
margin-right: 10px;
}
.smenu {
background: #222220;
overflow: hidden;
max-height: 0;
transition: max-height 0.3s ease;
}
.smenu a {
color: #C28C2E;
display: block;
padding: 16px 26px;
font-size: 14px;
margin: 4px 0;
position: relative;
}
.smenu a:before {
content: "";
width: 5px;
height: 100%;
position: absolute;
background: #C28C2E;
left: 0;
top: 0;
transition: 0.3s;
opacity: 0;
}
.smenu a:hover::before {
opacity: 1;
}
/*#profile:hover .smenu {
max-height: 100%;
}*/
.item:target .smenu {
max-height: 10em;
}