-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
243 lines (206 loc) · 5.56 KB
/
Copy pathmain.css
File metadata and controls
243 lines (206 loc) · 5.56 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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
/* Reset margins and paddings for all elements */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
position: fixed;
top: 0;
width: 100%;
background-color: #3A7A35; /* Goblin green background */
line-height: 50px; /* Adjust this to fit your design */
/* Control the height of the header if necessary */
}
main {
padding-top: 100px; /* Adjust this value to match the height of your fixed header */
}
/* Styling for navigation menu */
nav {
/* If you want the nav to take the full width of the header, no changes are needed here */
}
/* Navigation links style */
.nav-links {
list-style-type: none;
text-align: center;
padding: 0; /* Ensure there's no extra padding */
}
.nav-links li {
display: inline-block;
/* Adjust margin and padding as needed to fit the design */
}
.nav-links a, .dropbtn {
display: block;
color: white;
text-decoration: none;
padding: 14px 16px; /* Adjust padding as needed, but keep it uniform */
}
/* Dropdown specific styles */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
left: 0;
top: 100%; /* Position directly below the dropdown trigger */
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
/* Additional styles for dropdown links */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #ddd;
}
/* General button styling */
button {
background-color: #3A7A35; /* Goblin green */
color: white; /* White text */
padding: 10px 20px; /* Padding around text */
border: none; /* No border */
border-radius: 5px; /* Rounded corners */
cursor: pointer; /* Cursor indicates clickable item */
font-size: 16px; /* Increase font size for better readability */
margin: 5px; /* Space around buttons */
transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}
button:hover {
background-color: #2D6B2F; /* A slightly darker green for hover effect */
}
/* Adjusted style for buttons to include margin for spacing */
button {
margin-right: 10px; /* Adds space between buttons */
margin-bottom: 20px; /* Adds space below the buttons, creating separation from the following container */
}
#tableOutput {
margin: 20px auto; /* Center the box */
padding: 10px; /* Add some padding inside the box */
border: 2px solid #3A7A35; /* Goblin green border */
width: calc(100% - 40px); /* Adjust the width as needed, accounting for padding */
box-sizing: border-box; /* Ensure padding is included in the width calculation */
}
.html-output, .markdown-output {
flex: 1;
margin: 0 10px; /* Adjust as necessary for spacing */
overflow-y: auto; /* Enable vertical scrolling */
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f9f9f9;
padding: 10px;
box-sizing: border-box; /* Ensure padding is included in the width calculation */
}
.markdown-output {
height: 500px; /* Adjust the height as needed */
/* Add any other styles as needed */
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* CSS for category boxes */
.categories-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
}
.category-box {
flex: 1 0 calc(25% - 20px); /* Adjust width to fit 4 boxes per row */
max-width: calc(25% - 20px); /* Max width for each box */
margin: 10px;
display: flex;
flex-direction: column;
}
/* Styles for the textareas */
.output-container textarea {
width: calc(50% - 10px); /* Adjust width and margin as needed */
margin: 0 5px;
}
/* Styles for the buttons */
.action-buttons {
display: flex;
justify-content: center;
margin-bottom: 20px; /* Adjust margin as needed */
}
.action-buttons button {
margin: 0 5px;
padding: 8px 16px;
border: none;
border-radius: 5px;
background-color: #007bff;
color: #fff;
cursor: pointer;
}
.action-buttons button:hover {
background-color: #0056b3;
}
.output-container {
display: flex;
justify-content: space-between;
width: 100%;
min-height: 200px; /* Adjust the minimum height as needed */
border: 1px solid #ccc; /* Optional: Add a border for better visibility */
}
.snippet-output-container {
display: flex;
justify-content: space-between;
width: 100%;
min-height: 200px; /* Adjust the minimum height as needed */
border: 1px solid #ccc; /* Optional: Add a border for better visibility */
}
.snippet-output {
width: 50%;
min-height: 300px;
padding: 50px;
box-sizing: border-box;
}
#markdownOutput,
#htmlOutput {
width: 100%;
box-sizing: border-box;
}
.toggle-container {
width: 90%;
margin: auto;
padding: 10px 0;
}
.toggle-button {
width: 100%;
padding: 10px;
background: #3c763d; /* Goblin-themed background */
color: white;
text-align: center;
border: none;
outline: none;
cursor: pointer;
transition: background-color 0.3s;
}
.toggle-button:hover {
background-color: #2b542c; /* Darker shade for hover */
}
.toggle-content {
display: none;
overflow: hidden;
background-color: #f9f9f9;
padding: 20px;
}
/* Style for the <code> element */
code {
background-color: #eee;
padding: 2px 4px;
border-radius: 4px;
font-family: monospace;
}