Skip to content

Commit c42f092

Browse files
Refactor body styles in style2.css
Updated body styles for improved layout and readability.
1 parent 08daf0e commit c42f092

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

style2.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans|IBM+Plex+Mono");
22

33
body {
4-
margin-top: 1em;
5-
left: 10%;
6-
right: 10%;
7-
padding: 0.5em;
8-
background-color: #121212;
9-
color: rgba(222, 222, 222, 1.00);
10-
font-family: "IBM Plex Sans", Roboto, Calibri, Helvetica, Arial, sans-serif;
4+
background-color: #121212; /* The correct dark shade */
5+
color: rgba(222, 222, 222, 1.00); /* Off-white text */
6+
margin: 2em 10%; /* Keeps it from hitting the very edge of the screen */
7+
font-family: "IBM Plex Mono", monospace; /* Use the Mono font for that raw look */
8+
line-height: 1.6; /* Makes the raw text easier to read */
119
}
1210

1311
a {
@@ -18,10 +16,11 @@ a:visited {
1816
color: rgba(166, 121, 210, 1.00);
1917
}
2018

19+
/* Remove these if they are still in your file to ensure no boxes appear */
2120
.theblueguy {
22-
background-color: #121212;
23-
margin: -0.5em;
24-
padding: 0.5em;
21+
background-color: transparent;
22+
margin: 0;
23+
padding: 0;
2524
}
2625

2726
h1 {

0 commit comments

Comments
 (0)