embed css in html
This commit is contained in:
parent
79ca764d52
commit
08b4234370
5 changed files with 88 additions and 43 deletions
|
@ -4,11 +4,28 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>something silly - distracting</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>distracting</title>
|
||||
<link rel="icon" type="image/x-icon" href="/cretin.png">
|
||||
<style>
|
||||
html {
|
||||
color-scheme: dark;
|
||||
font-family: sans-serif;
|
||||
background-color: #111;
|
||||
}
|
||||
main {
|
||||
width: 800px;
|
||||
background-color: #222;
|
||||
margin: auto;
|
||||
padding: 2px 32px 32px;
|
||||
border-left: 4px solid #d3f;
|
||||
}
|
||||
@media screen and (max-width:900px) {
|
||||
main {
|
||||
width: calc(100% - 82px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<h1>distracting </h1>
|
||||
|
@ -25,5 +42,4 @@ go back to <a href="/">procrastinating</a><br>
|
|||
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -4,11 +4,28 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>something silly - index</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>index</title>
|
||||
<link rel="icon" type="image/x-icon" href="/cretin.png">
|
||||
<style>
|
||||
html {
|
||||
color-scheme: dark;
|
||||
font-family: sans-serif;
|
||||
background-color: #111;
|
||||
}
|
||||
main {
|
||||
width: 800px;
|
||||
background-color: #222;
|
||||
margin: auto;
|
||||
padding: 2px 32px 32px;
|
||||
border-left: 4px solid #d3f;
|
||||
}
|
||||
@media screen and (max-width:900px) {
|
||||
main {
|
||||
width: calc(100% - 82px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<h1>crispys blug</h1>
|
||||
|
@ -36,5 +53,4 @@ this means it is<br>
|
|||
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -4,11 +4,28 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>something silly - keyboards-are-fun</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>keyboards-are-fun</title>
|
||||
<link rel="icon" type="image/x-icon" href="/cretin.png">
|
||||
<style>
|
||||
html {
|
||||
color-scheme: dark;
|
||||
font-family: sans-serif;
|
||||
background-color: #111;
|
||||
}
|
||||
main {
|
||||
width: 800px;
|
||||
background-color: #222;
|
||||
margin: auto;
|
||||
padding: 2px 32px 32px;
|
||||
border-left: 4px solid #d3f;
|
||||
}
|
||||
@media screen and (max-width:900px) {
|
||||
main {
|
||||
width: calc(100% - 82px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<h1>keyboards!</h1>
|
||||
|
@ -32,5 +49,4 @@ this bit was written with 8vim<br>
|
|||
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,19 +0,0 @@
|
|||
html {
|
||||
color-scheme: dark;
|
||||
font-family: sans-serif;
|
||||
background-color: #111;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 800px;
|
||||
background-color: #222;
|
||||
margin: auto;
|
||||
padding: 2px 32px 32px;
|
||||
border-left: 4px solid #d3f;
|
||||
}
|
||||
|
||||
@media screen and (max-width:900px) {
|
||||
main {
|
||||
width: calc(100% - 82px);
|
||||
}
|
||||
}
|
|
@ -4,15 +4,31 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>something silly - {FILENAME}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<title>{FILENAME}</title>
|
||||
<link rel="icon" type="image/x-icon" href="/cretin.png">
|
||||
<style>
|
||||
html {
|
||||
color-scheme: dark;
|
||||
font-family: sans-serif;
|
||||
background-color: #111;
|
||||
}
|
||||
main {
|
||||
width: 800px;
|
||||
background-color: #222;
|
||||
margin: auto;
|
||||
padding: 2px 32px 32px;
|
||||
border-left: 4px solid #d3f;
|
||||
}
|
||||
@media screen and (max-width:900px) {
|
||||
main {
|
||||
width: calc(100% - 82px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
{CONTENT}
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue