forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (95 loc) · 1.44 KB
/
style.css
File metadata and controls
127 lines (95 loc) · 1.44 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
header,
footer {
background-color: khaki;
}
h1 {
font-size: 250%;
text-align: center;
margin-top: 0;
}
h2 {
margin-top: 2em;
margin-bottom: 3em;
}
h2,
h3 {
text-align: center;
}
hr {
margin-top: 3em;
}
.math img {
display: block;
margin: 0 auto;
float: none;
}
img {
margin: 0 0 20px 20px;
float: right;
}
main {
margin: 2em 2em 3em 2em;
}
article {
font-size: 125%;
}
article:first-of-type {
font-size: 150%;
}
ul {
list-style: none;
margin: 0 auto;
}
a {
/* text-decoration: none; */
font-family: 'Lora', serif;
transition: .25s linear;
}
p {
word-break: break-all;
}
nav {
display: block;
}
.one ul {
padding: 0.75em 0;
background: #ECDAD6;
}
.one a {
margin: 1em;
color: #695753;
}
.one li {
display: inline;
}
.one ul {
list-style: none;
margin: 0;
padding-left: 0;
display: flex;
justify-content: space-between;
}
footer {
padding: 1em;
background-color: khaki;
display: flex;
justify-content: space-between;
}
footer span {
margin-top: 1em;
}