-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
96 lines (84 loc) · 2.06 KB
/
style2.css
File metadata and controls
96 lines (84 loc) · 2.06 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
/* Fond général et police */
body {
margin: 0;
padding: 0;
background-color: #121212; /* Gris foncé pour l'arrière-plan global */
font-family: "Courier New", Courier, monospace;
}
/* Style du Terminal */
.terminal {
width: 80%;
height: 80%;
margin: 0 auto;
padding: 0;
border: 2px solid #8a8a8a;
border-top: 5px solid #8a8a8a; /* Bordure supérieure plus épaisse */
border-radius: 5px;
background-color: #1a1a1a; /* Gris très foncé */
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
/* Titre du Terminal */
.terminal-header {
background-color: #1a1a1a;
color: #8a8a8a;
padding: 5px 10px;
font-size: 12px;
font-weight: bold;
text-align: left;
display: flex;
align-items: center;
}
.terminal-title {
text-transform: uppercase;
}
/* Zone de texte du terminal (où l'output et les commandes s'affichent) */
.terminal-body {
padding: 10px;
flex-grow: 1;
overflow-y: auto;
color: #00ff00; /* Vert terminal */
background-color: #121212; /* Fond du terminal */
font-size: 16px;
letter-spacing: 1px;
box-sizing: border-box;
}
.terminal-output {
white-space: pre-wrap;
word-wrap: break-word;
}
/* Zone d'entrée et curseur clignotant */
.terminal-input {
display: flex;
align-items: center;
font-size: 16px;
}
.prompt {
color: #8a8a8a; /* Gris clair pour l'invite */
margin-right: 10px;
}
.input {
background-color: #121212;
border: none;
color: #00ff00;
outline: none;
width: 100%;
font-size: 16px;
letter-spacing: 1px;
caret-color: #00ff00; /* Curseur vert */
}
/* Animation du curseur clignotant */
.terminal-input .input:focus {
animation: blink 1s step-end infinite;
}
@keyframes blink {
50% {
border-color: transparent;
}
}
/* Ajout de l'effet de glow vert sur les lettres */
.terminal-output, .input {
text-shadow: 0 0 1px #00ff00, 0 0 10px #00ff00, 0 0 20px #00ff00;
}