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
100 lines (91 loc) · 1.77 KB
/
Copy pathstyle.css
File metadata and controls
100 lines (91 loc) · 1.77 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
/**
* 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.
*
*/
* {
margin: 0;
padding: 0;
}
pre{
color:black;
font-size:medium;
text-align: center;
}
a{
text-decoration: none;
color: white;
}
li{
list-style: none;
}
body {
font-family: 'Poppins', sans-serif;
font-size: 1.8rem; /* 18px */
font-weight: 400;
line-height: 1.4;
color: white;
background-image: url("/images/coffeepicture.jpg");
background-size: 100%;
}
h1,
h2 {
font-family: 'Raleway', sans-serif;
font-weight: 700;
text-align: center;
}
h3{
font-family: 'Raleway', sans-serif;
font-weight: 700;
text-align: center;
color: black;
}
h1 {
font-size: 6rem;
}
h2 {
font-size: 4.2rem;
color:black;
}
.header {
display: flex;
justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #481f01;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
z-index: 10;
}
.item1 { grid-area: header; }
.item2{ grid-area: right;}
.item3 { grid-area: footer; }
.grid-container {
display: grid;
grid-template-areas:
'header header header header header header'
'right right right right right right'
'footer footer footer footer footer footer';
gap: 0px;
padding: 10px;
margin-top: 1000px;
margin-left: 100px;
margin-right: 100px;
}
.grid-container > div {
background-color: rgba(255, 255, 255, 0.8);
text-align: center;
padding: 20px 0;
font-size: 30px;
}
footer{
margin-top: 500px;
padding: 20px;
text-align: center;
background: #481f01;
color: white;
}