Add some CSS styling
This commit is contained in:
parent
822874eb99
commit
7dbaab76d5
3 changed files with 35 additions and 3 deletions
10
index.html
10
index.html
|
@ -4,10 +4,14 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Génévée</title>
|
<title>Génévée</title>
|
||||||
<script src="main.js"></script>
|
<script src="main.js"></script>
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Générateur de nom de souverain·es mérovingien·nes</h1>
|
<div>
|
||||||
<input id="generate" type="button" value="Générer"/>
|
<h1>Genevee</h1>
|
||||||
<p id="result"></p>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
BIN
scribish.ttf
Normal file
BIN
scribish.ttf
Normal file
Binary file not shown.
28
style.css
Normal file
28
style.css
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue