-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (81 loc) · 2.19 KB
/
index.html
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
<html>
<style>
:root {
--bg: #2B3339;
--fg: #D3C6AA;
--containerbg: #323A40;
}
html {
font-size: 22px;
font-family: sans-serif;
}
body {
padding: 1rem;
background-color: var(--bg);
}
.cards {
max-width: auto;
margin: 0 0;
display: grid;
grid-gap: 1rem;
}
.card {
background-color: var(--containerbg);
color: var(--fg);
padding: 1rem;
}
h1 {
font-size: 20px;
margin: 0px 0px 10px 0px;
}
.bookmark {
text-decoration: none;
display: block;
font-size: 18px;
color: var(--fg);
}
.search {
width: auto;
background-color: var(--containerbg);
}
.search-box {
font-size: 22px;
width: 100%;
padding: 1em;
background-color: rgba(0, 0, 0, 0);
color: #b5b5a4;
border: none;
}
@media (min-width: 900px) {
.cards { grid-template-columns: repeat(3, 1fr); }
}
</style>
<head> <!-- this meta tag is for mobile compatiblity along with @media -->
<title>homepage</title>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<meta charset="utf8">
</head>
</body>
<div class=search>
<form action=https://duckduckgo.com/?>
<input class=search-box name=q type=text placeholder=search value>
</form>
</div>
<div class="cards">
<div class="card">
<h1>First Container</h1> <!-- href=link to website. Description before </a> -->
<a class="bookmark" href="about:blank" target="_blank">some link</a>
<a class="bookmark" href="about:blank" target="_blank">some other link</a>
<a class="bookmark" href="about:blank" target="_blank">another link</a>
<a class="bookmark" href="about:blank" target="_blank">link to somewhere</a>
</div>
<div class="card"> <!-- this is the second container -->
<h1>Second Container</h1>
<a class="bookmark" href="about:blank" target="_blank">some link</a>
<a class="bookmark" href="about:blank" target="_blank">some other link</a>
<a class="bookmark" href="about:blank" target="_blank">another link</a>
<a class="bookmark" href="about:blank" target="_blank">link to somewhere</a>
</div> <!-- just copy the card divider and put as many as you like beneath this one -->
</div> <!-- you decide what should appear next ;) -->
</body>
</html>