Skip to content

Commit 6a9a062

Browse files
Update main.css
1 parent 4b00ae3 commit 6a9a062

File tree

1 file changed

+19
-32
lines changed

1 file changed

+19
-32
lines changed

arise-source/config/main.css

Lines changed: 19 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/*** Core page styles to set the primary colours and styles to be inherited by everything else ***/
22

33
/* Core Styling */
4-
html * {
5-
font-family:sans-serif;
6-
}
7-
body{
8-
margin:40px auto;
9-
max-width:650px;
10-
line-height:1.6;
11-
font-size:18px;
12-
color:#000000;
13-
background-color:#ffffff;
14-
padding:0 10px;
4+
html {
5+
font-size: 100%;
6+
}
7+
8+
body {margin: 5% auto;
9+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
10+
font-size: 1rem;
11+
line-height: 1.8;
12+
text-shadow: 0 1px 0 #ffffff;
13+
max-width: 75%;
1514
}
15+
1616
/********************************/
1717
/********************************/
1818

@@ -23,32 +23,19 @@ img {
2323
max-height: 100%;
2424
margin-top:20px;
2525
margin-bottom:20px;
26-
border-radius:16px;
26+
border-radius:10px;
2727
margin-left: auto;
2828
margin-right: auto;
2929
display: block;
3030
}
3131

32-
code {
33-
background-color:#f5f5f5;
34-
border-radius:16px;
35-
padding-left:30px;
36-
padding-right:30px;
37-
line-height:2em;
38-
padding-top:1px;
39-
padding-bottom:1px;
40-
color:#444444;
41-
font-family:monospace;
42-
}
43-
44-
pre {
45-
overflow-x: auto;
46-
white-space: pre-wrap;
47-
white-space: -moz-pre-wrap;
48-
white-space: -pre-wrap;
49-
white-space: -o-pre-wrap;
50-
word-wrap: break-word;
51-
}
32+
pre, code {
33+
background-color: lightgrey;
34+
padding: 0.25rem5 0.5rem;
35+
border-radius: 0.25rem;
36+
font-family: monospace;
37+
font-size: 1rem;
38+
}
5239

5340
blockquote {
5441
border-left:1px solid #000000;

0 commit comments

Comments
 (0)