Skip to content

Commit e7bb888

Browse files
committed
added image and hero section
1 parent fa3dfe7 commit e7bb888

File tree

4 files changed

+61
-4
lines changed

4 files changed

+61
-4
lines changed

css/index.css

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1-
html {
2-
background-color: #1e1e1e;
3-
background-size: 33%;
1+
2+
.hero {
3+
background-image: url("../img/WWISGAF_PAGE.png");
44
background-repeat: no-repeat;
5+
background-position: center;
6+
background-size: 50%;
7+
height: 100vh;
8+
padding: 20px;
9+
display: flex;
10+
justify-content: center;
11+
align-items: center;
12+
text-align: center;
13+
}
14+
15+
.header {
16+
font-size: 5rem;
17+
width: 60%;
18+
margin: auto;
19+
box-sizing: border-box;
20+
vertical-align: middle;
21+
line-height: 1.2;
522
}

css/reset.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
2+
13
html, body, div, span, applet, object, iframe,
24
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
35
a, abbr, acronym, address, big, cite, code,
@@ -18,6 +20,12 @@ time, mark, audio, video {
1820
font: inherit;
1921
vertical-align: baseline;
2022
}
23+
24+
html {
25+
background-color: #1e1e1e;
26+
background-size: 33%;
27+
}
28+
2129
/* HTML5 display-role reset for older browsers */
2230
article, aside, details, figcaption, figure,
2331
footer, header, hgroup, menu, nav, section {
@@ -40,4 +48,36 @@ q:before, q:after {
4048
table {
4149
border-collapse: collapse;
4250
border-spacing: 0;
51+
}
52+
53+
h1, h2, h3, h4, h5, h6, p, a{
54+
font-family: 'Montserrat', sans-serif;
55+
color: white;
56+
}
57+
58+
a {
59+
text-decoration: none;
60+
color: #1976D2
61+
}
62+
63+
a:visited{
64+
color: #E63946;
65+
}
66+
67+
a:hover {
68+
color: #5E60CE
69+
}
70+
71+
a:active {
72+
color: #E6F2EE
73+
}
74+
75+
h1 {
76+
font-weight: 900;
77+
font-size: 3rem;
78+
}
79+
80+
h2 {
81+
font-weight: 600;
82+
font-size: 2rem;
4383
}

img/WWISGAF_PAGE.png

158 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010
<body>
1111
<div class="hero">
12-
<h1 class="header">When Will I Start Giving a F**k?</h1>
12+
<h1 class="header">WHEN WILL I START <span style="color: #A93226">GIVING A F**K?</span></h1>
1313
</div>
1414
<div class="about">
1515
<h2 class="subtitle">About</h2>

0 commit comments

Comments
 (0)