forked from CodeYourFuture/HTML-CSS-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·73 lines (59 loc) · 1.33 KB
/
style.css
File metadata and controls
executable file
·73 lines (59 loc) · 1.33 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
/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
margin: 0;
padding: 0;
}
.navbar ul {
list-style: none;
padding: 0;
margin: 0;
text-align: right;
}
.navbar li {
display: inline-block;
}
.navbar a {
text-decoration: none;
color: black;
width: 100px;
display: block;
padding: 25px 20px;
text-align: center;
}
.navbar a:hover {
background: #eb7d34;
}
/*Container for Karma introduction*/
.container {
position: relative;
text-align: center;
color: white;
}
/* Centered text */
.IntroductionHeader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 70px;
font-weight: 300;
}
.IntroductionSubHeader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, 200%);
font-size: 30px;
font-weight: 300;
}
/**
* 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.
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/