Update style.css
Browse files
style.css
CHANGED
|
@@ -1,20 +1,23 @@
|
|
| 1 |
body {
|
| 2 |
margin: 0;
|
| 3 |
font-family: 'Segoe UI', sans-serif;
|
| 4 |
-
background-color: #
|
| 5 |
color: #ffffff;
|
|
|
|
| 6 |
}
|
| 7 |
|
| 8 |
header {
|
| 9 |
-
background-color: #
|
| 10 |
padding: 20px;
|
| 11 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
header h1 {
|
| 15 |
margin: 0;
|
| 16 |
-
font-size: 2.
|
| 17 |
-
letter-spacing: 1px;
|
| 18 |
}
|
| 19 |
|
| 20 |
nav {
|
|
@@ -22,9 +25,9 @@ nav {
|
|
| 22 |
}
|
| 23 |
|
| 24 |
nav a {
|
| 25 |
-
color: #
|
| 26 |
text-decoration: none;
|
| 27 |
-
margin: 0
|
| 28 |
font-weight: bold;
|
| 29 |
}
|
| 30 |
|
|
@@ -32,10 +35,25 @@ nav a:hover {
|
|
| 32 |
color: #00ccff;
|
| 33 |
}
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
#hero img {
|
| 36 |
width: 100%;
|
| 37 |
height: auto;
|
| 38 |
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
section {
|
|
@@ -43,11 +61,26 @@ section {
|
|
| 43 |
text-align: center;
|
| 44 |
}
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
h2 {
|
| 47 |
font-size: 2em;
|
| 48 |
margin-bottom: 15px;
|
| 49 |
}
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
footer {
|
| 52 |
background-color: #111;
|
| 53 |
padding: 20px;
|
|
|
|
| 1 |
body {
|
| 2 |
margin: 0;
|
| 3 |
font-family: 'Segoe UI', sans-serif;
|
| 4 |
+
background-color: #0e0e0e;
|
| 5 |
color: #ffffff;
|
| 6 |
+
line-height: 1.6;
|
| 7 |
}
|
| 8 |
|
| 9 |
header {
|
| 10 |
+
background-color: #111;
|
| 11 |
padding: 20px;
|
| 12 |
text-align: center;
|
| 13 |
+
position: sticky;
|
| 14 |
+
top: 0;
|
| 15 |
+
z-index: 10;
|
| 16 |
}
|
| 17 |
|
| 18 |
header h1 {
|
| 19 |
margin: 0;
|
| 20 |
+
font-size: 2.8em;
|
|
|
|
| 21 |
}
|
| 22 |
|
| 23 |
nav {
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
nav a {
|
| 28 |
+
color: #ccc;
|
| 29 |
text-decoration: none;
|
| 30 |
+
margin: 0 12px;
|
| 31 |
font-weight: bold;
|
| 32 |
}
|
| 33 |
|
|
|
|
| 35 |
color: #00ccff;
|
| 36 |
}
|
| 37 |
|
| 38 |
+
#hero {
|
| 39 |
+
position: relative;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
#hero img {
|
| 43 |
width: 100%;
|
| 44 |
height: auto;
|
| 45 |
display: block;
|
| 46 |
+
filter: brightness(0.8);
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.hero-text {
|
| 50 |
+
position: absolute;
|
| 51 |
+
bottom: 30px;
|
| 52 |
+
left: 40px;
|
| 53 |
+
color: #fff;
|
| 54 |
+
background: rgba(0, 0, 0, 0.6);
|
| 55 |
+
padding: 20px;
|
| 56 |
+
border-radius: 10px;
|
| 57 |
}
|
| 58 |
|
| 59 |
section {
|
|
|
|
| 61 |
text-align: center;
|
| 62 |
}
|
| 63 |
|
| 64 |
+
section ul {
|
| 65 |
+
list-style: none;
|
| 66 |
+
padding: 0;
|
| 67 |
+
margin-top: 20px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
section ul li {
|
| 71 |
+
margin: 10px 0;
|
| 72 |
+
font-size: 1.1em;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
h2 {
|
| 76 |
font-size: 2em;
|
| 77 |
margin-bottom: 15px;
|
| 78 |
}
|
| 79 |
|
| 80 |
+
a {
|
| 81 |
+
color: #00ccff;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
footer {
|
| 85 |
background-color: #111;
|
| 86 |
padding: 20px;
|