Add some CSS styling

This commit is contained in:
Tissevert 2023-03-19 22:13:57 +01:00
parent 822874eb99
commit 7dbaab76d5
3 changed files with 35 additions and 3 deletions

View file

@ -4,10 +4,14 @@
<meta charset="utf-8">
<title>Génévée</title>
<script src="main.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Générateur de nom de souverain·es mérovingien·nes</h1>
<input id="generate" type="button" value="Générer"/>
<p id="result"></p>
<div>
<h1>Genevee</h1>
<p>Générateur de nom de souverain·es mérovingien·nes</p>
<p><input id="generate" type="button" value="Inventer un nom !"/></p>
<p id="result"></p>
</div>
</body>
</html>

BIN
scribish.ttf Normal file

Binary file not shown.

28
style.css Normal file
View file

@ -0,0 +1,28 @@
@font-face {
font-family: "Scribish";
src: url("scribish.ttf") format("truetype");
}
body {
margin: 0;
background: #feffeb;
}
h1 {
font-family: "Scribish";
font-size: 4em;
padding: 20px;
display: block;
margin: 0;
color: #382109;
text-shadow: 3px 0 2px #9b9113, -3px 0 2px #9b9113, 0 3px 2px #9b9113, 0 -3px 2px #cbd34e, 3px 3px 2px #9b9113, -3px 3px 2px #9b9113, 3px -3px 2px #9b9113, -3px -3px 2px #cbd34e;
letter-spacing: 10px;
}
div {
margin: 40px 0;
}
div > * {
text-align: center;
}