Skip to content

Commit f96f927

Browse files
committed
updated styles
1 parent f7e68c2 commit f96f927

File tree

3 files changed

+56
-37
lines changed

3 files changed

+56
-37
lines changed

fancy-hovers/index.html

+34-27
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,40 @@
2020
<div id='container'>
2121
<header></header>
2222
<div id='main-content' role='main'>
23-
<h1>Here's some fancy hovers:</h1>
24-
<ul id='hovers'>
25-
<li id='twitter'>
26-
Twitter
27-
<span></span>
28-
</li>
29-
<li id='facebook'>
30-
Facebook
31-
<span></span>
32-
</li>
33-
<li id='forrst'>
34-
Forrst
35-
<span></span>
36-
</li>
37-
<li id='rss'>
38-
RSS
39-
<span></span>
40-
</li>
41-
</ul>
42-
<h1>&hellip; and the Compass-generated spritesheet:</h1>
43-
<div id='sprite'>
44-
<img alt='the generated sprite' src='/images/hovertest-7cd2242a05.png'>
45-
</div>
46-
<h1>
47-
get the source
48-
<a href='https://gist.github.com/959764'>here</a>
49-
</h1>
23+
<section>
24+
<h1>Here are some fancy hovers:</h1>
25+
<ul id='hovers'>
26+
<li id='twitter'>
27+
Twitter
28+
<span></span>
29+
</li>
30+
<li id='facebook'>
31+
Facebook
32+
<span></span>
33+
</li>
34+
<li id='forrst'>
35+
Forrst
36+
<span></span>
37+
</li>
38+
<li id='rss'>
39+
RSS
40+
<span></span>
41+
</li>
42+
</ul>
43+
<p>They use <a href="http://www.alistapart.com/articles/understanding-css3-transitions/">CSS3 transitions</a> to ramp the opacity of the hover state.</p>
44+
</section>
45+
<section>
46+
<h1>&hellip; and here's the <a href="http://compass-style.org/">Compass</a>-generated spritesheet:</h1>
47+
<div id='sprite'>
48+
<img alt='the generated sprite' src='/images/hovertest-7cd2242a05.png'>
49+
</div>
50+
</section>
51+
<section>
52+
<h1>
53+
get the source
54+
<a href='https://gist.github.com/959764'>here</a>
55+
</h1>
56+
</section>
5057
</div>
5158
<footer></footer>
5259
</div>

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div id='container'>
2121
<header></header>
2222
<div id='main-content' role='main'>
23-
<h1>What's here?:</h1>
23+
<h1>What's here?</h1>
2424
<ul id='whatshere'>
2525
<li>
2626
<a href='/fancy-hovers/'>Fancy Hovers demo</a>

stylesheets/style.css

+21-9
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,23 @@ body {
228228
text-align: center; }
229229

230230
/* line 51, ../../views/stylesheets/style.css.sass */
231+
section {
232+
margin-bottom: 30px; }
233+
234+
/* line 54, ../../views/stylesheets/style.css.sass */
235+
a {
236+
text-decoration: none;
237+
font-weight: bold; }
238+
/* line 57, ../../views/stylesheets/style.css.sass */
239+
a:hover {
240+
text-decoration: underline; }
241+
242+
/* line 60, ../../views/stylesheets/style.css.sass */
231243
h1 {
232244
font-size: 24px;
233245
margin-bottom: 25px; }
234246

235-
/* line 55, ../../views/stylesheets/style.css.sass */
247+
/* line 64, ../../views/stylesheets/style.css.sass */
236248
#hovers {
237249
margin: 0;
238250
padding: 0;
@@ -249,11 +261,11 @@ h1 {
249261
white-space: nowrap;
250262
display: inline;
251263
float: left; }
252-
/* line 59, ../../views/stylesheets/style.css.sass */
264+
/* line 68, ../../views/stylesheets/style.css.sass */
253265
#hovers li {
254266
margin: 0 8px; }
255267

256-
/* line 63, ../../views/stylesheets/style.css.sass */
268+
/* line 72, ../../views/stylesheets/style.css.sass */
257269
#twitter {
258270
text-indent: -119988px;
259271
overflow: hidden;
@@ -295,7 +307,7 @@ h1 {
295307
.no-opacity #twitter:hover span {
296308
visibility: visible; }
297309

298-
/* line 66, ../../views/stylesheets/style.css.sass */
310+
/* line 75, ../../views/stylesheets/style.css.sass */
299311
#facebook {
300312
text-indent: -119988px;
301313
overflow: hidden;
@@ -337,7 +349,7 @@ h1 {
337349
.no-opacity #facebook:hover span {
338350
visibility: visible; }
339351

340-
/* line 69, ../../views/stylesheets/style.css.sass */
352+
/* line 78, ../../views/stylesheets/style.css.sass */
341353
#forrst {
342354
text-indent: -119988px;
343355
overflow: hidden;
@@ -379,7 +391,7 @@ h1 {
379391
.no-opacity #forrst:hover span {
380392
visibility: visible; }
381393

382-
/* line 72, ../../views/stylesheets/style.css.sass */
394+
/* line 81, ../../views/stylesheets/style.css.sass */
383395
#rss {
384396
text-indent: -119988px;
385397
overflow: hidden;
@@ -421,11 +433,11 @@ h1 {
421433
.no-opacity #rss:hover span {
422434
visibility: visible; }
423435

424-
/* line 75, ../../views/stylesheets/style.css.sass */
436+
/* line 84, ../../views/stylesheets/style.css.sass */
425437
#sprite {
426438
margin-bottom: 30px; }
427439

428-
/* line 78, ../../views/stylesheets/style.css.sass */
440+
/* line 87, ../../views/stylesheets/style.css.sass */
429441
#whatshere {
430442
list-style: none;
431443
margin: 0;
@@ -435,7 +447,7 @@ h1 {
435447
list-style-image: none;
436448
list-style-type: none;
437449
margin-left: 0px; }
438-
/* line 82, ../../views/stylesheets/style.css.sass */
450+
/* line 91, ../../views/stylesheets/style.css.sass */
439451
#whatshere li {
440452
font-size: 18px;
441453
margin: 0;

0 commit comments

Comments
 (0)