Remove CSS Article, add GPG Key

This commit is contained in:
Benjamin Bädorf 2020-08-13 15:24:01 +02:00
parent b71e6b153b
commit d57060737e
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 60 additions and 86 deletions

View file

@ -1,86 +0,0 @@
<html>
<head>
<title>Edit CSS inline</title>
</head>
<body>
<h1>Edit CSS inline</h1>
<p>This page demonstrates a nifty HTML trick. If you make a style tag contenteditable and <code>display: block;</code> it, you can change the styles for a page live.</p>
<p>For example, try editing the styles for the paragraphs and h1 below:</p>
<style contenteditable>
h1 {
/* Try changing the css by typing here */
transform: skew(-20deg);
border-bottom: 0.5rem solid grey;
}
p {
color: rgba(30, 30, 30);
margin: 0;
margin-top: 1rem;
}
</style>
<p>Since this is CSS that is interpreted by the browser, you can write any valid css, like media queries or pseudo-element selectors.</p>
<style contenteditable>
/* Try changing the css here */
body {
display: flex;
flex-direction: column;
align-items: center;
font-family: sans-serif;
padding: 4rem;
}
body > * {
width: 100%;
max-width: 40rem;
}
@media screen and (min-width: 1200px) {
body {
padding: 4rem 8rem;
}
}
</style>
<p>The CSS Below sets up the style tags. If you find a light theme easier, try changing the background color and font color. Be careful though, if you change the display value here, you loose the ability to view and edit the styles</p>
<style contenteditable>
style {
display: block;
font-family: monospace;
white-space: pre;
margin-top: 1rem;
background-color: rgba(30, 30, 30);
color: white;
padding: 1rem;
}
style::before,
style::after {
display: block;
color: grey;
}
style[contenteditable]::before,
style[contenteditable]::after {
color: brown;
}
style[contenteditable]::before {
content: '<style contenteditable>';
}
style::before {
content: '<style>';
}
style::after {
content: '<\/style>';
}
</style>
<p>This is an idea that came up after viewing <a href="https://secretgeek.github.io/html_wysiwyg/html.html" rel="noreferrer noopener">this brilliant HTML quine</a>. Code is <a href="https://git.b12f.io/b12f/bbcom/src/branch/master/css-edit/index.html" rel="noreferrer noopener">here</a>.</p>
<body>
</html>

View file

@ -25,6 +25,7 @@
padding: 0px; padding: 0px;
max-width: 100%; max-width: 100%;
} }
.hidden { .hidden {
display: none; display: none;
} }
@ -42,6 +43,13 @@
<p>You can see some of his code <a href="https://github.com/b12f" target="_blank" title="Github">here</a> and <a href="http://git.b12f.io/b12f" target="_blank" title="Private Gitea">here</a></p> <p>You can see some of his code <a href="https://github.com/b12f" target="_blank" title="Github">here</a> and <a href="http://git.b12f.io/b12f" target="_blank" title="Private Gitea">here</a></p>
<p>You can stalk his professional life <a href="https://www.linkedin.com/in/benjaminbaedorf" target="_blank" title="LinkedIn">here</a></p> <p>You can stalk his professional life <a href="https://www.linkedin.com/in/benjaminbaedorf" target="_blank" title="LinkedIn">here</a></p>
<details>
<summary>GPG</summary>
<a
download
href="/public-pgp-benjamin-baedorf.asc"
>4332 E0D0 2B21 4D31 376C 366E 4406 E80E 13CD 656C</a>
</p>
<script> <script>
var aka = document.getElementById('aka'); var aka = document.getElementById('aka');

View file

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF6MU9wBEADHOWIW2cpMdOS1gP1EIHIrlW8dkrqaLARsz5q0GUxTzqc9AD0z
A++G4zGfTL+lpH7E8y9PsA1jOIw5Ab1fCpcZh8BujjnXpYiSn1ippY84Fl2bLPMx
TpZeTRg1tUxzKy+USLKfV4D4STEBrMBkJJPOwiPsbVmC9cshDOGFAdOAvjz6GR7Z
/OGJFN11GvMMFgzOjq0GQ1ONaWCCg4C7T7zc3YxzT67iZZeaQ5KLnhaiARAaHhF2
mfo4INrOnZ6Gks8Zy2xospfLBA8XnOcyusLOlNy7sCGms6BVmvwHmPH77lX6yR2S
rqBNPaRzr5g8asXUJJZnBffkZQ1alFpFKX+h/GHcpbL0ZbYFd/LAmthqE3aSElob
p/DMwwTRXGhQzAkd5v8o2Nk1xGg4oy+oZy0P2rWsA4OqGXStbhuSFUhOIo8LT+iY
dExipW6E05q9GC+FIrtNBCLjhKeTUHns0fvL4vlveeKn1nvh5JW6UvszPlh42mTH
dZlurlz5Hck76XB+j37Sb05bCgVbd/Qv9sZigZoNb+liereAgUrh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