Skip to content

Commit 5603e5c

Browse files
author
mgledhill
committed
style.css added
1 parent 634b725 commit 5603e5c

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

11-resources/01-css/style.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
position: relative;
6+
}
7+
8+
html {
9+
background-color: #fbfaf6; /* Set cream page bkgrd */
10+
color: #404030;
11+
font-family: serif;
12+
font-size: 26px;
13+
text-rendering: optimizeLegibility;
14+
}
15+
16+
body {
17+
max-width: 1276px;
18+
margin: 0 auto;
19+
background-color: #fff; /* make content area bkgrd white */
20+
border-left: 1px solid #ededed;
21+
border-right: 1px solid #ededed;
22+
}
23+
24+
h1, h2, h3, h4, h5, h6 { /* set standard headings */
25+
font-family: sans-serif;
26+
font-weight:normal;
27+
font-size: 3rem;
28+
padding: 2rem 5rem 2rem 5rem;
29+
}
30+
h3 { font-size: 2.5rem; }
31+
32+
.cover-fig { /* holder for cover image */
33+
width: 50%;
34+
margin: 2rem auto;
35+
padding: 0;
36+
}
37+
.cover-fig img {width: 100%;} /* format cover image */
38+
39+
p { /* TEXT STYLE - paragraph */
40+
margin-bottom: 1.2rem; /* THIS SETS PARAGRAPH SPACING */
41+
padding: 0 5rem;
42+
line-height: 135%;
43+
}

0 commit comments

Comments
 (0)