Created
December 2, 2013 16:36
-
-
Save JackieXu/7752304 to your computer and use it in GitHub Desktop.
Example Block for "From Plebein Web User to Noble Web Artisan"
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
/** | |
* Example Block for "From Plebein Web User to Noble Web Artisan" | |
*/ | |
.example-block { | |
border: 3px solid gold; | |
border-radius: 5px; | |
box-shadow: 0 0 15px maroon; | |
padding: 15px; | |
position: relative; | |
width: 500px; | |
} | |
.example-block::after { | |
bottom: 0; | |
color: gold; | |
content: '†'; | |
font-size: 64pt; | |
position: absolute; | |
right: 25px; | |
transform: rotate(180deg); | |
text-stroke: 1px #611; | |
} | |
.example-title { | |
margin: 0; | |
} | |
.code-block { | |
background-color: #314043; | |
color: #FFFFFF; | |
margin: 0; | |
overflow: auto; | |
} | |
.code-keyword { | |
color: #EE5E91; | |
} | |
.code-attribute { | |
color: #9AD74C; | |
} | |
.code-entity { | |
color: #FCFCC4; | |
} | |
.code-value { | |
color: #; | |
} |
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
<div class="example-block"> | |
<h4 class="example-title">A simple example of the usage of the paragraph and quote tags:</h4> | |
<pre class="code-block"> | |
<<span class="code-keyword">p</span>> | |
Ozymandias: | |
<<span class="code-keyword">q</span>>My name is Ozymandias, king of kings: Look on my works, ye Mighty, and despair!</<span class="code-keyword">q</span>> | |
</<span class="code-keyword">p</span>> | |
</pre> | |
<dl> | |
<dt>Paragraph tag <p></dt> | |
<dd>Used to represent paragraphs</dd> | |
<dt>Quote tag <q></dt> | |
<dd>Used to represent quotes</dd> | |
</dl> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment