Linux in a Bit 🐧 · @Linux_in_a_Bit
1359 followers · 7098 posts · Server linuxrocks.online

:ablobcatattentionreverse: A good static site template should always fit in a Mastodon post:

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tab Name</title>
<style>
@media (prefers-color-scheme: dark){
body {color:;background:}
a:link {color:}
a:hover, a:visited:hover {color:}
a:visited {color:}
}
a:link{
color:
}
a:hover,a:visited:hover{
color:
}
a:visited{
color:
}
body{
margin:1em auto;
max-width:40em;
padding:0 .62em;
font:1.2em/1.62 sans-serif;
color:;
background-color:
}
h1,h2,h3 {
line-height:1.2
}
@media print{
body{
max-width:none
}
}
</style>
<article>
<header>
<h1>Title Here</h1>
<aside>by Me</aside>
</header>
<h2>Heading</h2>
<p>List
<ul>
<li>Item
</ul>
Based on a site by <a href="github.com/KeenRivals/bestmoth">KeenRivals</a>.
</article>

#dCF #def #cdf #1c1c1c #d8d8d8

Last updated 1 year ago

Linux in a Bit 🐧 · @Linux_in_a_Bit
1358 followers · 7098 posts · Server linuxrocks.online

:ablobcatattentionreverse: The best static site template:
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="data:image/png;base64,">
<title>Pro Suite</title>
<style>
@media (prefers-color-scheme: dark){
body {color:;background:}
a:link {color:}
a:hover, a:visited:hover {color:}
a:visited {color:}
}
a:link{
color:
}
a:hover,a:visited:hover{
color:
}
a:visited{
color:
}
body{
margin:1em auto;
max-width:40em;
padding:0 .62em;
font:1.2em/1.62 sans-serif;
color:;
background-color:
}
h1,h2,h3 {
line-height:1.2
}
@media print{
body{
max-width:none
}
}
</style>
<article>
<header>
<h1>Title Here</h1>
<aside>A modified template based on github.com/KeenRivals/bestmoth</aside>
</header>
<h2>Heading</h2>
<p>List
<ul>
<li>Item 1
<li>Two
</ul>
Type something cool here.
</article>

#dCF #def #cdf #1c1c1c #d8d8d8

Last updated 1 year ago