-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathterminal.css
130 lines (104 loc) · 2.17 KB
/
terminal.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
@font-face {
font-family: 'Cascadia-Code';
src: url('./assets/CascadiaMono-Regular.otf');
}
body{
margin: 0%;
background-color: black;
}
.console-box {
/*Position and sizing*/
width: 92vw;
height: 99.6vh;
background-color: rgba(0,0,0,0.3);
/*padding*/
padding: 0.2vh 4vw;
/*overflow*/
overflow-x: hidden;
overflow-y: scroll;
/*hide scroll bar: firefox & IE*/
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
transition: all 0.3s ease 0s;
/*blur*/
filter:blur(2px);
transition: all 0.3s ease 0s;
}
/*Chrome 和 Safari 隱藏滾動條*/
::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
.console-box:hover {
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
#console-text-entry {
border: none;
background-color: transparent;
color: white;
padding: 0%;
width: 50%;
}
/* word-size = (the size of the entire art) / word count*/
/* Fake terminal word count per line: 101 */
.ascii-art-fake-terminal{
font-size: calc(100vw / 101 + 0.4vw);
transition: all 0.3s ease 0s;
}
.ascii-art-yi-ting-chiu{
font-size: calc(100vw / 96 + 0.2vw);
transition: all 0.3s ease 0s;
}
@media (orientation: landscape){
.ascii-art-fake-terminal{
font-size: calc(65vw / 101);
}
.ascii-art-yi-ting-chiu{
font-size: calc(50vw / 96);
}
.console-box{
padding: 3vh 3vw;
width: 94vw;
height: 94vh;
}
}
input:focus {
outline: none;
}
.cmd-text {
color: white;
font-family: "Cascadia-Code";
font-size: 1rem;
}
.cmd-link {
color: gray;
transition: all 0.3s ease 0s;
}
.cmd-link:hover {
transition: all 0.3s ease 0s;
color: rgb(211, 211, 211);
}
/* color shortcuts */
.green{
color: rgba(0, 255, 0);
}
.red{
color: red;
}
.dodgerblue{
color: dodgerblue;
}
.grey{
color: grey;
}
#particles-js{
position: absolute;
z-index: -1;
width: 100%;
height: 100%;
background-color: #1a1a1a;
background-image: url('');
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
filter:blur(1px)
}