move style.css into index.html

This commit is contained in:
2024-11-06 12:16:39 +00:00
parent 26661c550c
commit db357608ff
2 changed files with 108 additions and 123 deletions
+108 -5
View File
@@ -4,11 +4,110 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>« futile »</title> <title>« futile »</title>
<script> let FF_FOUC_FIX; </script> <script> let FF_FOUC_FIX; </script>
</head> </head>
<style>
@import url(https://fonts.bunny.net/css?family=bokor:400|ibm-plex-mono:400);
body {
background-color: black;
color: white;
font-family: 'IBM Plex Mono', monospace;
}
p {
letter-spacing: -0.02em;
}
.email {
color: white;
text-decoration: underline dotted;
}
.main-title {
font-family: 'Bokor', serif;
font-size: 5em;
line-height: 1em;
margin-top: 0.2em;
margin-bottom: 0em;
user-select: none;
font-weight: normal;
}
/* hacky way of making my font look nicer on firefox
while having chrome's rendering of it not be bloated
*/
@supports (-moz-appearance: none) {
.main-title {
font-weight: bold;
}
}
.separator {
color: white;
margin-top: 0.5em;
margin-bottom: 0em;
width: 50px;
}
.content {
line-height: 1.3em;
}
.box {
display: flex;
justify-content: center;
align-items: center;
max-width: 480px;
margin: 0 auto;
width: 100%;
padding: 0 20px;
box-sizing: border-box;
}
div.buttons {
display: flex;
justify-content: center;
align-items: center;
max-width: 480px;
margin: 0 auto;
position: absolute;
bottom: 50px;
left: 0;
right: 0;
}
ul.buttons {
list-style-type: none;
margin: -8px;
padding: 0;
padding-left: 10px;
display: flex;
flex-wrap: wrap;
padding: 0 20px;
box-sizing: border-box;
}
ul.buttons li {
margin-right: 3px;
line-height: 1;
}
div.footer {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2.9em;
}
</style>
<body> <body>
<div class="box"> <div class="box">
<h1 class="main-title">futile</h1> <h1 class="main-title">futile</h1>
@@ -26,10 +125,14 @@
<div class="buttons"> <div class="buttons">
<ul class="buttons"> <ul class="buttons">
<li><a href="https://futile.eu"><img src="buttons/futile.png" width="88px" height="31px"></a></li> <li><a href="https://futile.eu"><img src="buttons/futile.png" width="88px" height="31px"></a></li>
<li><a href="https://xenia.blahaj.land/"><img src="buttons/rose_88x31.png" width="88px" height="31px"></a></li> <li><a href="https://xenia.blahaj.land/"><img src="buttons/rose_88x31.png" width="88px"
<li><iframe src="//incr.easrng.net/badge?key=futile" style="background: url(//incr.easrng.net/bg.gif)" title="increment badge" width="88" height="31" frameborder="0"></iframe></li> height="31px"></a></li>
<li><a href="https://fedoraproject.org/spins/kde"><img src="buttons/fedora.png" width="88px" height="31px"></a></li> <li><iframe src="//incr.easrng.net/badge?key=futile" style="background: url(//incr.easrng.net/bg.gif)"
<li><a href="https://mozilla.org/firefox"><img src="buttons/firefox4.gif" width="88px" height="31px"></a></li> title="increment badge" width="88" height="31" frameborder="0"></iframe></li>
<li><a href="https://fedoraproject.org/spins/kde"><img src="buttons/fedora.png" width="88px"
height="31px"></a></li>
<li><a href="https://mozilla.org/firefox"><img src="buttons/firefox4.gif" width="88px"
height="31px"></a></li>
</ul> </ul>
</div> </div>
<div class="footer"> <div class="footer">
-118
View File
@@ -1,118 +0,0 @@
@import url(https://fonts.bunny.net/css?family=bokor:400|ibm-plex-mono:400);
body {
background-color: black;
color: white;
font-family: 'IBM Plex Mono', monospace;
}
p {
letter-spacing: -0.02em;
}
.email {
color: white;
text-decoration: underline dotted;
}
.main-title {
font-family: 'Bokor', serif;
font-size: 5em;
line-height: 1em;
margin-top: 0.2em;
margin-bottom: 0em;
user-select: none;
font-weight: normal;
}
/* hacky way of making my font look nicer on firefox
while having chrome's rendering of it not be bloated
*/
@supports (-moz-appearance: none) {
.main-title {
font-weight: bold;
}
}
.separator {
color: white;
margin-top: 0.5em;
margin-bottom: 0em;
width: 50px;
}
.content {
line-height: 1.3em;
}
.box {
display: flex;
justify-content: center;
align-items: center;
max-width: 480px;
margin: 0 auto;
width: 100%;
padding: 0 20px;
box-sizing: border-box;
}
div.buttons {
display: flex;
justify-content: center;
align-items: center;
max-width: 480px;
margin: 0 auto;
position: absolute;
bottom: 50px;
left: 0;
right: 0;
}
ul.buttons {
list-style-type: none;
margin: -8px;
padding: 0;
padding-left: 10px;
display: flex;
flex-wrap: wrap;
padding: 0 20px;
box-sizing: border-box;
}
ul.buttons li {
margin-right: 3px;
line-height: 1;
}
div.footer {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2.9em;
}
/* ul.footer {
list-style-type: none;
margin: 0;
padding: 0;
padding-left: 10px;
display: flex;
}
ul.footer li {
margin-right: 10px;
}
ul.footer a {
color: white;
text-decoration: none;
}
ul.footer a:hover {
text-decoration: underline;
} */