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
137 lines (115 loc) · 2.05 KB
/
style.css
File metadata and controls
137 lines (115 loc) · 2.05 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
128
129
130
131
132
133
134
135
136
137
/**
* 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.
*
*/
*{
padding: 0;
margin: 0;
}
body{
font-family: 'Roboto Slab';
}
a, p, h1, h2, h3, h4, h5, h6 {
color:#333
}
h1, h2, h3, h4, h4, h5, h6 {
padding:10px 20px 10px 20px;
}
.container {
max-width:80%;
max-height: 100%;
margin:auto;
border-left: 1px solid #333;
border-right: 1px solid #333;
}
header {
background-color: #333;
}
header nav {
display: flex;
justify-content:center;
align-items:center;
padding: 20px;
}
header nav a {
padding: 75px;
color: white;
text-decoration: none;
}
header nav a:hover {
color: cyan;
text-decoration: underline overline;
}
section{
padding: 60px;
}
main {
float: left;
width: 70%;
}
main p {
font-size:1.1rem
line-height: 1.6rem;
padding:0px 20px 0px 5px;
}
aside {
float: right;
width: 25%;
}
aside ul li {
font-size:1.1rem;
line-height:1.6rem;
list-style:none;
padding: 3px 0px 3px 0px
}
aside ul{
padding: 0px 20px 0px 20px;
}
aside p {
font-size: 1.1rem;
line-height:1.6rem;
padding: 20px 0px 59px 0px;
}
article:first-child {
color:red;
}
footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #333;
width: 100%;
}
footer p{
color: white;
font-size: 20px;
padding: 8px 60px 15px 100px;
}
footer a {
color: white;
padding: 0px 40px 0px 20px;
}
footer a:hover {
color: cyan;
}
hr {
height: 12px;
border: 0;
box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.5);
}
@media(max-wdth: 700px) {
main {
float: none;
width: 100%
}
aside {
float: none;
width: 100%;
padding: 20px;
}
}