-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
187 lines (161 loc) · 4.5 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/*
Theme Name: D8 Linux Terminal Theme
Theme URI: http://d8devs.com/d8-linux-terminal-wordpress-theme
Author: d8devs
Author URI: http://d8devs.com
Description: A terminal-like WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: d8-linux-terminal-theme
*/
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#terminal {
background-color: #300a24; /* Ubuntu terminal background color */
color: #fff;
font-family: 'Courier New', monospace;
padding: 20px;
height: 100%;
box-sizing: border-box; /* Include padding in height calculation */
position: relative; /* Needed for absolute positioning of children */
}
#history {
height: calc(100% - 60px); /* Adjust height considering command input height */
overflow-y: auto;
background-color: #300a24; /* Terminal background color */
color: #fff;
font-family: 'Courier New', monospace;
padding: 10px;
box-sizing: border-box; /* Include padding in height calculation */
}
#commandInput {
width: 100%;
background: transparent;
border: none;
color: #fff;
font-size: 1em;
box-sizing: border-box;
}
#suggestions {
color: #aaa; /* Lighter color for suggestions */
font-style: italic;
margin-top: 10px;
}
.command-line {
display: flex; /* Use flexbox to align items in a row */
align-items: center; /* Align items vertically in the center */
white-space: nowrap; /* Prevent wrapping to a new line */
}
.command-line input {
flex-grow: 1; /* Allow input to take up available space */
margin-left: 5px; /* Optional: Add some space between $ and input */
}
.clickable-post {
color: #FF865C; /* Ubuntu terminal link color */
cursor: pointer;
text-decoration: none;
}
.shared-links {
font-size: .7rem;
}
.terminal-button {
background-color: #333; /* Dark background */
color: #fff; /* White text */
border: none;
padding: 5px 10px;
margin: 5px;
border-radius: 3px;
cursor: pointer;
font-family: 'Courier New', Courier, monospace;
font-size: 0.9em;
}
.terminal-button:hover {
background-color: #555; /* Slightly lighter background on hover */
}
.pagination-controls {
text-align: center;
margin-top: 10px;
}
#history > img {
max-width: 90%;
height: auto;
border: 3px solid #fff; /* White border */
padding: 5px;
background-color: #000; /* Black background for the frame */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: Adds a shadow for depth */
}
#history > img {
transition: transform 0.3s ease;
}
#history > img:hover {
transform: scale(1.05);
}
/* Style for the terminal links */
.terminal-link {
color: #FF865C; /* Ubuntu terminal link color */
text-decoration: none; /* Removes underline from links */
cursor: pointer;
}
.terminal-link:hover {
text-decoration: underline; /* Adds underline on hover */
}
/* Style for the share links section */
.share-links a {
color: #FF865C; /* Ubuntu terminal link color */
margin-right: 10px; /* Adds some space between the links */
}
.text-orange {
color: #FF865C; /* Ubuntu terminal link color */
}
.share-links a:hover {
text-decoration: underline; /* Adds underline on hover */
}
table.no-spacing {
border-spacing:0; /* Removes the cell spacing via CSS */
border-collapse: collapse; /* Optional - if you don't want to have double border where cells touch */
}
pre {
background-color: #f5f5f5; /* Light grey background */
border: 1px solid #ddd; /* Light border */
border-left: 3px solid #f36d33; /* Accent border */
color: #666; /* Darker text color for readability */
page-break-inside: avoid;
font-family: monospace;
font-size: 15px; /* Larger font size */
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
code {
background-color: #f5f5f5; /* Light grey background */
font-family: monospace;
font-size: 0.9em; /* Slightly smaller font size */
color: #666; /* Darker text color for readability */
border: 1px solid #ddd; /* Light border */
}
@media (max-width: 600px) {
pre {
padding: 0.5em; /* Smaller padding on small screens */
}
}
h1, h2, h3, h4, h5, h6 {
color: #fff; /* White color for headers */
margin-top: 1em;
margin-bottom: 0.5em;
}
p {
margin-bottom: 1em;
}
ul, ol {
margin-left: 20px;
margin-bottom: 1em;
}