Skip to content

Commit 1e0c625

Browse files
Skapade huvudsida
1 parent dda4675 commit 1e0c625

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

404.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="sv">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<title>Sidan hittades inte - En programmerare</title>
7+
<link rel="stylesheet" href="start.css" type="text/css" media="all">
8+
</head>
9+
<body>
10+
<div class="rubrik">Sidan hittades inte</div>
11+
<a href="https://en-programmerare.github.io/">
12+
<div class="gymnasieval" style="background-color: grey">
13+
Start
14+
</div>
15+
</a>
16+
</body>
17+
</html>

index.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html lang="sv">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<title>En programmerares struntprojekt</title>
7+
<link rel="stylesheet" href="start.css" type="text/css" media="all">
8+
</head>
9+
<body>
10+
<div class="rubrik">Strunt</div>
11+
<a href="https://en-programmerare.github.io/strunt/zpel.html">
12+
<div class="gymnasieval" style="background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url('https://www.publicdomainpictures.net/pictures/210000/nahled/letter-z-1490187015Mgg.jpg')">
13+
Zpel
14+
</div>
15+
</a>
16+
<a href="https://en-programmerare.github.io/strunt/lektionenslutar.html">
17+
<div class="gymnasieval" style="background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url('https://cdn.pixabay.com/photo/2015/10/11/20/19/hourglass-983001_1280.jpg')">
18+
Lektionen slutar
19+
</div>
20+
</a>
21+
</body>
22+
</html>

start.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.gymnasieval {
2+
height: 40vw;
3+
width: 40vw;
4+
overflow: hidden;
5+
background-size: cover;
6+
display: inline-block;
7+
color: white;
8+
text-decoration: none;
9+
font-size: 7vw;
10+
line-height: 40vw;
11+
border-radius: 5px;
12+
text-align: center;
13+
border-style: solid;
14+
border-color: black;
15+
}
16+
a {
17+
text-decoration: none;
18+
}
19+
body {
20+
text-align: center;
21+
}
22+
.rubrik {
23+
font-size: 10vw;
24+
font-weight: bold;
25+
}
26+
@media only screen and (min-width: 500px) {
27+
.gymnasieval {
28+
height: 20vw;
29+
width: 20vw;
30+
font-size: 3vw;
31+
line-height: 20vw;
32+
}
33+
.rubrik {
34+
font-size: 5vw;
35+
font-weight: bold;
36+
}
37+
}

0 commit comments

Comments
 (0)