Skip to content

Commit 5192041

Browse files
committed
Basic website placeholder
1 parent d608e08 commit 5192041

File tree

4 files changed

+101
-0
lines changed

4 files changed

+101
-0
lines changed

assets/favicon.ico

37.8 KB
Binary file not shown.

assets/style.css

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
@import url(https://fonts.bunny.net/css?family=roboto:500,700);
2+
3+
html {
4+
font-size: 16px;
5+
}
6+
7+
body {
8+
background: rgb(199,21,133);
9+
background: linear-gradient(180deg, rgba(199,21,133,1) 0%, rgba(128,0,128,1) 100%);
10+
background-attachment: fixed;
11+
background-repeat: no-repeat;
12+
color: white;
13+
height: 100%;
14+
min-height: 100vh;
15+
display: grid;
16+
place-items: center;
17+
font-family: 'Roboto', sans-serif;
18+
/* improves legibility of the white text on the pink/purple background */
19+
text-shadow: 1px 1px 1px rgba(112, 0, 112, 0.8);
20+
}
21+
22+
main {
23+
margin-top: -10rem;
24+
text-align: center;
25+
}
26+
27+
main h1 {
28+
font-size: 4rem;
29+
font-weight: 700;
30+
margin: 0 0 0.5rem;
31+
}
32+
33+
main h2 {
34+
font-size: 2.5rem;
35+
font-weight: 500;
36+
margin: 0;
37+
}
38+
39+
main ul {
40+
margin: 2rem 0 0 0;
41+
padding: 0;
42+
list-style: none;
43+
display: inline-flex;
44+
}
45+
46+
main ul li {
47+
margin: 0 0.5rem;
48+
}
49+
50+
main ul li a {
51+
display: block;
52+
font-size: 1.5rem;
53+
padding: 0.8rem 1.4rem;
54+
background: white;
55+
color: rgb(199,21,133);
56+
text-decoration: none;
57+
text-shadow: none;
58+
box-shadow: 1px 1px 1px rgba(112, 0, 112, 0.8);
59+
border-radius: 0.5rem;
60+
transition: transform 0.2s ease-in-out;
61+
}
62+
63+
main ul li a:hover,
64+
main ul li a:focus {
65+
color: rgba(128,0,128,1);
66+
transform: translateY(-1px);
67+
}

index.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>FediMod &ndash; Moderation Tools for the Fediverse</title>
9+
<link rel="stylesheet" href="./assets/style.css">
10+
<link rel="icon" href="./assets/favicon.ico" type="image/x-icon">
11+
</head>
12+
13+
<body>
14+
<main>
15+
<h1>FediMod</h1>
16+
<h2>Moderation Tools for the Fediverse</h2>
17+
<ul>
18+
<li><a href="https://mastodon.social/@FediMod" rel="me" title="FediMod on Mastodon">@FediMod</a></li>
19+
<li><a href="https://github.com/FediMod" title="FediMod on GitHub">Source Code</a></li>
20+
</ul>
21+
</main>
22+
</body>
23+
24+
</html>

package.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "fedimod-website",
3+
"private": true,
4+
"version": "1.0.0",
5+
"description": "Website for FediMod",
6+
"license": "MIT",
7+
"scripts": {
8+
"start": "python3 -m http.server 3000 -b 127.0.0.1"
9+
}
10+
}

0 commit comments

Comments
 (0)