Skip to content

Commit e3ce17e

Browse files
author
Daniell Mesquita
committed
#34 Labels
1 parent adae350 commit e3ce17e

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

elements.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ <h6>Heading 6</h6>
4545
<br/><h1>Blockquotes</h1>
4646
<blockquote><p>Phrase</p><span>Creator</span></blockquote><br/>
4747
<textarea onclick="this.focus();this.select()" readonly="readonly" style="margin:6px 41px;width: 392px;height:16px">&lt;blockquote&gt;&lt;p&gt;Phrase&lt;/p&gt;&lt;span&gt;Creator&lt;/span&gt;&lt;/blockquote&gt;</textarea>
48+
<h1>Badges</h1>
49+
<h1>Heading 1 <span class="badge">Badge</span></h1>
50+
<h2>Heading 2 <span class="badge">Badge</span></h2>
51+
<h3>Heading 3 <span class="badge">Badge</span></h3>
52+
<h4>Heading 4 <span class="badge">Badge</span></h4>
53+
<h5>Heading 5 <span class="badge">Badge</span></h5>
54+
<h6>Heading 6 <span class="badge">Badge</span></h6>
55+
<p>Paragraph <span class="badge">Badge</span></p>
56+
<span>Span <span class="badge mini">BADGE</span></span><br/>
57+
<textarea onclick="this.focus();this.select()" readonly="readonly" style="margin:6px 41px;width: 392px;height: 44px;">&lt;h1&gt;Heading 1 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h1&gt;
58+
&lt;h2&gt;Heading 2 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h2&gt;
59+
&lt;h3&gt;Heading 3 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h3&gt;
60+
&lt;h4&gt;Heading 4 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h4&gt;
61+
&lt;h5&gt;Heading 5 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h5&gt;
62+
&lt;h6&gt;Heading 6 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h6&gt;
63+
&lt;p&gt;Paragraph &lt;span class="badge mini"&gt;Badge&lt;/span&gt;&lt;/p&gt;</textarea>
4864
<script type="text/javascript" src="rsc/jquery.min.js"></script>
4965
</body>
5066
</html>

rsc/common.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ body{background:rgb(239, 239, 239);font-family:Arial;-webkit-font-smoothing:anti
66
.h5, h5{font-size:40px;font-weight:bold;color:#333;margin:25px 0px 0px 0px}
77
.h6, h6{font-size:30px;font-weight:bold;color:#333;margin:25px 0px 0px 0px}
88

9-
.badge{background-color:#e7534f;font-family:Arial;font-size:12px;font-weight:bold;padding:3px 8px;border-radius:3px;color:#fff;position:relative;top:-2px;margin-left:8px;display:inline}.badge.blue{background-color:#5b6ed6}.badge.green{background-color:#53a93f}
10-
9+
.badge{background-color:#e7534f;font-family:Arial;font-weight:bold;padding:3px 8px;border-radius:3px;color:#fff;position:relative;margin-left:8px;display:inline}
10+
h1 .badge{font-size:40px;top:-14px}h2 .badge{font-size:35px;top:-12px}h3 .badge{font-size:30px;top:-12px}h4 .badge{font-size:25px;top:-10px}h5 .badge{font-size:20px;top:-8px}h6 .badge{font-size:15px;top:-6px}
11+
.badge.blue{background-color:#5b6ed6}.badge.green{background-color:#53a93f}
1112
.badge.mini{font-size:7px;-webkit-user-select:none;-moz-user-select:none;user-select:none}
1213

1314
.p,p{color:#585b55;font-weight:bold;font-size:12px}.span,span{color:#888;font-size:10px}.blockquote,blockquote{padding:10px;background:#d6d6d6;color:#585b55;font-size:12px;font-weight:bold}

0 commit comments

Comments
 (0)