Skip to content

Commit f63b0b4

Browse files
Reset styles and apply default block display
Removed existing styles and added a reset style for all elements.
1 parent 57520a3 commit f63b0b4

1 file changed

Lines changed: 8 additions & 43 deletions

File tree

style2.css

Lines changed: 8 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,9 @@
1-
@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans|IBM+Plex+Mono");
2-
3-
body {
4-
margin-top: 1em;
5-
position: absolute;
6-
left: 10%;
7-
right: 10%;
8-
padding: 0.5em;
9-
border: 1px solid;
10-
border-color: rgba(75, 75, 75, 1.00);
11-
background-color: #111111;
12-
color: rgba(222, 222, 222, 1.00);
13-
font-family: "IBM Plex Sans", Roboto, Calibri, Helvetica, Arial, sans-serif;
14-
}
15-
16-
a {
17-
color: rgba(106, 152, 175, 1.00);
18-
}
19-
20-
a:visited {
21-
color: rgba(166, 121, 210, 1.00);
22-
}
23-
24-
.theblueguy {
25-
background-color: #222222;
26-
margin: -0.5em;
27-
padding: 0.5em;
28-
}
29-
30-
h1 {
31-
font-size: 36pt;
32-
line-height: 1em;
33-
}
34-
35-
h2, h3 {
36-
padding-top: 21px;
37-
font-size: 15pt;
38-
line-height: 1.5em;
39-
text-align: left;
40-
}
41-
42-
hr {
43-
border: 1px gray solid;
1+
* {
2+
all: unset; /* Strips every single default browser style */
3+
display: block;
4+
font-family: monospace; /* Gives it that "coding" feel */
5+
white-space: pre; /* Keeps your line breaks and spacing exactly as typed */
6+
background: #000; /* Optional: keep it dark */
7+
color: #fff; /* Optional: keep it readable */
8+
padding: 10px;
449
}

0 commit comments

Comments
 (0)