Skip to content

Commit be2da1b

Browse files
committed
Minor style changes + added compatibility warning
1 parent 153fdd8 commit be2da1b

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

css/style.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,18 @@ body {
3838
color: white;
3939
}
4040

41-
.links-section {
42-
float: left;
41+
.notes-section {
4342
margin: 10px;
4443
color: #4D4E53;
44+
font-family: Ubuntu, Arial, Tahoma, 'Sans Serif';
45+
float: left;
46+
}
47+
48+
.compatibility-warning {
49+
color: #E05252;
50+
margin-top: 10px;
51+
border-radius: 4px;
52+
font-size: 0.7em;
4553
}
4654

4755
/* Demo styles */

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1>CSS @counter-style Demo</h1>
4848
<div class="list-controls">
4949
<h3>Select a counter style from the list</h3>
5050
<select id="style-select">
51-
<optgroup label="System">
51+
<optgroup label="@counter-style system">
5252
<option value="cyclic">cyclic</option>
5353
<option value="fixed">fixed</option>
5454
<option value="symbolic">symbolic</option>
@@ -133,9 +133,12 @@ <h3>Select a counter style from the list</h3>
133133
}</pre>
134134

135135
</div>
136-
<div class="links-section">
137-
<i>Read more on <code>@counter-style</code> on
136+
<div class="notes-section">
137+
138+
<i>Read more about <code>@counter-style</code> on
138139
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@counter-style">Mozilla Developer Network</a></i>
140+
141+
<div class="compatibility-warning">⚠ Warning: <i>@counter-style</i> currently works only on Firefox 33+</div>
139142
</div>
140143
<script src="js/script.js"></script>
141144
</body>

0 commit comments

Comments
 (0)