-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (88 loc) · 1.97 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
:root {
--font-size: 14px;
--font-family: monospace;
--background-color: black;
--text-color: white;
--input-background-color: gray;
--border-color: white;
--button-background-color: #333;
--button-text-color: #fff;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: var(--font-family);
font-size: var(--font-size);
}
body {
background-color: var(--background-color);
color: var(--text-color);
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.terminal {
position: relative;
border: 2px solid var(--border-color);
border-radius: 5px;
padding: 20px;
width: 1000px;
height: 500px;
overflow: auto;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
line-height: 1.5;
}
.terminal-text {
padding: 0 0 10px;
}
.terminal-form {
display: flex;
align-items: center;
margin-top: auto;
position: relative;
width: 100%;
justify-content: center;
}
.terminal-form input[type='text'] {
flex: 1;
margin-right: 10px;
font-family: var(--font-family);
font-size: var(--font-size);
padding: 5px;
border: none;
border-bottom: 2px solid #ccc;
background-color: var(--input-background-color);
color: var(--text-color);
outline: none;
caret-color: var(--text-color);
}
.terminal-form input[type='submit'] {
font-family: var(--font-family);
font-size: var(--font-size);
padding: 5px 10px;
background-color: var(--button-background-color);
color: var(--button-text-color);
border: none;
cursor: pointer;
}
.terminal-form input[type='text']::placeholder {
color: var(--text-color);
}
.button-container {
text-align: center;
}
.centered-button {
margin: 10px;
padding: 10px;
font-size: 16px;
}
input[type='submit']:hover {
background-color: var(--background-color);
color: var(--text-color);
}