This repository was archived by the owner on Oct 26, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (65 loc) · 1.1 KB
/
style.css
File metadata and controls
74 lines (65 loc) · 1.1 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
/**
* 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.
*
*/
* {
box-sizing: border-box;
}
body {
background-color: #4586de;
margin: 20px 80px;
}
.wrapper {
width: 800px;
margin: 0 auto;
border-radius: 10px;
background-color: white;
}
header {
padding: 50px 50px 50px 50px;
}
/*Navigation Style*/
nav {
font-weight: bold;
}
header > #logo {
font-size: 2em;
}
main {
padding: 50px;
overflow: hidden;
}
section {
float: left;
width: 60%;
}
aside {
float: right;
width: 30%;
background-color: rgba(255, 255, 128, 0.5);
padding: 10px;
}
footer {
padding: 20px;
border-top: 1px solid blue;
text-align: center;
}
h3 {
margin: 10px;
background-color: rgb(145, 145, 49);
color: rgb(182, 12, 12);
}
/*First Article's style*/
.articles:first-child {
background-color: gray;
border: 1px solid rgb(7, 7, 14);
padding: 20px 20px 20px 20px;
}
/*general article styles*/
article {
border-bottom: 1px solid blue;
}