-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode-display.css
More file actions
60 lines (54 loc) · 993 Bytes
/
code-display.css
File metadata and controls
60 lines (54 loc) · 993 Bytes
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
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styling */
body {
font-family: 'Arial', sans-serif;
background: #f0f0f0;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
/* Container Styling */
.container {
background: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
max-width: 1000px;
width: 100%;
}
/* Title Styling */
h1 {
font-size: 2rem;
color: #333;
margin-bottom: 20px;
}
/* Code Container */
#codeContainer {
text-align: left;
overflow-y: auto;
max-height: 80vh;
}
/* Code Styling */
pre {
background: #2e2e2e;
color: #f8f8f2;
padding: 15px;
border-radius: 6px;
overflow-x: auto;
margin-bottom: 20px;
}
code {
display: block;
font-size: 0.9rem;
line-height: 1.5;
white-space: pre-wrap;
word-wrap: break-word;
}