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
·116 lines (108 loc) · 2.02 KB
/
Copy pathstyle.css
File metadata and controls
executable file
·116 lines (108 loc) · 2.02 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
/* 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;
}
/**
* 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'
*/
img {
display: block;
width: 100px;
margin: 5px;
}
.hero {
background-image: url("../img/first-background.jpg");
color: white;
min-height: 60vh;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.blocks {
display: flex;
justify-content: space-around;
align-items: center;
padding: 20px;
text-align: center;
margin: auto;
width: 50%;
}
.hero {
justify-content: center;
align-items: center;
color: white;
display: flex;
flex-direction: column;
}
.hero-h1 {
font-size: 48px;
font-weight: bold;
margin-bottom: 10px;
}
.hero-p {
font-size: 25px;
margin-bottom: 20px;
}
.hero-button {
background-color: rgb(255, 115, 0);
color: white;
border: none;
padding: 15px 30px;
font-size: 18px;
cursor: pointer;
border-radius: 5px;
}
.hero-button:hover {
background-color: #c0392b;
}
.background-image {
width: 100%;
height: auto;
opacity: 0.8;
}
.topic {
text-align: center;
font-size: x-large;
}
.icon {
display: flex;
flex-direction: row;
align-items: flex-end;
border-radius: 60%;
padding: 10px;
justify-content: center;
}
.icon img {
margin: 0 10px;
width: 30px;
height: auto;
}
.copyright {
text-align: center;
color: grey;
}
.karma-logo {
display: flex;
align-items: self-start;
justify-content: left;
width: 30px;
height: auto;
}
.text {
color: darkgrey;
padding-right: 10px;
margin-right: 10px;
right: 10px;
text-align: right;
}
.text:hover {
color: black;
cursor: pointer;
}