-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9909ff3
commit 50bd0fc
Showing
2 changed files
with
152 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,141 @@ | ||
| * { | ||
| display:block; | ||
| } | ||
| a,code,em,strong { | ||
| display:inline | ||
| } | ||
| *{ | ||
| font-family:Monospace; | ||
| margin:1.5em 0; | ||
| padding:0; | ||
| text-decoration:none | ||
| } | ||
|
|
||
| /* tags with attributes. */ | ||
|
|
||
| a[href]::before { | ||
| content: "<a href='" attr(href) "'>" | ||
| } | ||
| link[rel]::before { | ||
| content: "<link rel='" attr(rel) "' type='" attr(type)"' href='" attr(href) "'>" | ||
| } | ||
|
|
||
| /* special escaping for close style */ | ||
| style::before { | ||
| content:'<style>' | ||
| } | ||
| style::after { | ||
| content:'<\/style>' | ||
| } | ||
|
|
||
| /* brutify */ | ||
| *::before,*::after { | ||
| color:rgb(136, 18, 128, 0.5); | ||
| font-weight:100; | ||
| font-size:1.0em | ||
| } | ||
| html { | ||
| max-width:70ch; | ||
| padding:2ch; | ||
| margin:auto; | ||
| color:#333; | ||
| font-size:1.2em; | ||
| } | ||
|
|
||
| /* here is the highly repetitive bit */ | ||
| p::before { | ||
| content:'<p>' | ||
| } | ||
| p::after { | ||
| content:'</p>' | ||
| } | ||
| html::before { | ||
| content:'<html>' | ||
| } | ||
| html::after { | ||
| content:'</html>' | ||
| } | ||
| head::before { | ||
| content:'<head>' | ||
| } | ||
| head::after { | ||
| content:'</head>' | ||
| } | ||
| title::before { | ||
| content:'<title>' | ||
| } | ||
| title::after { | ||
| content:'</title>' | ||
| } | ||
| link::before { | ||
| content:'<link>' | ||
| } | ||
| link::after { | ||
| content:'</link>' | ||
| } | ||
| body::before { | ||
| content:'<body>' | ||
| } | ||
| body::after { | ||
| content:'</body>' | ||
| } | ||
| h1::before { | ||
| content:'<h1>' | ||
| } | ||
| h1::after { | ||
| content:'</h1>' | ||
| } | ||
| h2::before { | ||
| content:'<h2>' | ||
| } | ||
| h2::after { | ||
| content:'</h2>' | ||
| } | ||
| p::before { | ||
| content:'<p>' | ||
| } | ||
| p::after { | ||
| content:'</p>' | ||
| } | ||
| pre::before { | ||
| content:'<pre>' | ||
| } | ||
| pre::after { | ||
| content:'</pre>' | ||
| } | ||
| code::before { | ||
| content:'<code>' | ||
| } | ||
| code::after { | ||
| content:'</code>' | ||
| } | ||
| a::before { | ||
| content:'<a>' | ||
| } | ||
| a::after { | ||
| content:'</a>' | ||
| } | ||
| aside::before { | ||
| content:'<aside>' | ||
| } | ||
| aside::after { | ||
| content:'</aside>' | ||
| } | ||
| blockquote::before { | ||
| content:'<blockquote>' | ||
| } | ||
| blockquote::after { | ||
| content:'</blockquote>' | ||
| } | ||
| em::before { | ||
| content:'<em>' | ||
| } | ||
| em::after { | ||
| content:'</em>' | ||
| } | ||
| strong::before { | ||
| content:'<strong>' | ||
| } | ||
| strong::after { | ||
| content:'</strong>' | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,11 @@ | ||
| see <a href='html.html'>html.html</a> | ||
| <html> | ||
| <head><title>html wysiwyg</title> | ||
| <link rel="stylesheet" type="text/css" href="html.css" /> | ||
| </head> | ||
| <body> | ||
| <h1>What you see is what you get.</h1> | ||
| <p>Finally, you can make any html page look like html.</p> | ||
| <p>Just link to this <a href='html.css'>stylesheet</a>.</p> | ||
| <p>For a self-contained version, including an explanation, see <a href='html.html'>a html quine.</a></p> | ||
| </body> | ||
| </html> |
50bd0fcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message! π―
50bd0fcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to make a commit message Quine but didnβt have time to develop one. (As in a commit message that would perform a commit and leave itself as the message)