Skip to content
Browse files

buttons added (test), margin removed from header ul

  • Loading branch information...
1 parent fce1daf commit 850c5605e6eb9b1666a051b3e77358f7a75b8f67 @ponywithhiccups committed Mar 24, 2012
Showing with 32 additions and 8 deletions.
  1. +26 −2 css/style.css
  2. BIN img/sprite.gif
  3. +6 −6 index.html
View
28 css/style.css
@@ -221,14 +221,17 @@ a { color:rgb(0,0,0); }
a:visited { color:rgb(0,0,0); }
a:hover { color:rgb(0,174,239); }
a:focus { outline:rgb (0,174,239); }
+
body {
font-family:"Minion Pro", serif;
-font-size: 18px
+font-size: 18px;
+margin: 0px;
+padding: 0px;
}
header {
background:rgb(241,242,242);
-margin: 0px;
+
}
header p {
@@ -239,12 +242,33 @@ font-family: "Minion Pro", serif;
header ul {
font-size: 24px;
font-variant: small-caps;
+margin: 0px;
}
#menu {
background:rgb(255,255,255);
}
+a.button {
+background: url("../img/sprite.gif") no-repeat;
+display: block;
+width: 60px;
+height: 60px;
+text-indent: -1000px;
+}
+a:link {
+
+}
+
+a.button.algorithm {
+background-position: 0px 0px;
+}
+a.button.algorithm:hover {
+background-position: 0px -61px;
+}
+a.button.algorithm:active {
+background-position: 0px -122px;
+}
#content {
background:rgb(255,255,255);
View
BIN img/sprite.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
12 index.html
@@ -48,12 +48,12 @@
</header>
<div id="menu">
<div>
- <a href="">algorithm button</a>
- <a href="">drawing button</a>
- <a href="">enterperneurship button</a>
- <a href="">freelancing button</a>
- <a href="">misc button</a>
- <a href="">writing button</a>
+ <a href="" class="button algorithm">algorithm button</a>
+ <a href="" class="button drawing">drawing button</a>
+ <a href="" class="button enterperneurship">enterperneurship button</a>
+ <a href="" class="button freelancing">freelancing button</a>
+ <a href="" class="button misc">misc button</a>
+ <a href="" class="button writing">writing button</a>
</div>
<div>
<a href="">Algorithm</a>

0 comments on commit 850c560

Please sign in to comment.
Something went wrong with that request. Please try again.