Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing css issues

  • Loading branch information...
commit 663f3cff0970fb345dd980e750c82dcbf8aea46f 1 parent 9a84cd0
@rodbeh authored
Showing with 17 additions and 9 deletions.
  1. +12 −6 public/css/main.css
  2. +5 −3 views/home.erb
View
18 public/css/main.css
@@ -87,7 +87,7 @@ a#linkedin,
a#codeschool {
width: 150px;
height: 150px;
- margin: 0;
+ margin: 0 -5px 0 0;
display: inline-block;
text-indent: -999em;
background-repeat: no-repeat;
@@ -155,9 +155,6 @@ section {
margin-top: 0.3em;
margin-bottom: 2em;
}
-h2 b.block {
- display: block;
-}
@media only screen and (min-width: 320px) {
.wrapper {
@@ -269,6 +266,9 @@ h2 b.block {
.less-space-between-words {
word-spacing: -2px
}
+ .group {
+ display: block
+ }
}
@media only screen and (device-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
@@ -287,10 +287,10 @@ h2 b.block {
@media only screen and (max-width: 768px) {
p {
padding: 0 0 0 0;
- display: inline;
+ display: inline
}
.block {
- display: inline-block;
+ display: inline-block
}
}
@@ -305,6 +305,12 @@ h2 b.block {
height: 326px;
background-image: url(https://dl.dropboxusercontent.com/u/4343272/rodbeh/ipad-lettering-landscape.png)
}
+ h2 b.block {
+ display: block
+ }
+ .group {
+ display: inline
+ }
}
@media only screen and (device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
View
8 views/home.erb
@@ -21,9 +21,11 @@
</section>
<section>
<p>
- <a href="http://twitter.com/rodbeh" id="twitter" class="tiptool" tabindex="3" target="_blank" name="updates, enlaces y citas :|">Twitter</a>
- <a href="http://dribbble.com/rodbeh" id="dribbble" class="tiptool" tabindex="2" target="_blank" name="¿en qué estoy trabajando?">Dribbble</a>
- <a href="http://github.com/rodbeh" id="github" class="tiptool" tabindex="1" target="_blank" name="fork me on github :]">GitHub</a>
+ <span class="group">
+ <a href="http://twitter.com/rodbeh" id="twitter" class="tiptool" tabindex="3" target="_blank" name="updates, enlaces y citas :|">Twitter</a>
+ <a href="http://dribbble.com/rodbeh" id="dribbble" class="tiptool" tabindex="2" target="_blank" name="¿en qué estoy trabajando?">Dribbble</a>
+ <a href="http://github.com/rodbeh" id="github" class="tiptool" tabindex="1" target="_blank" name="fork me on github :]">GitHub</a>
+ </span>
<a href="http://www.codeschool.com/users/rodbeh" id="codeschool" class="tiptool" tabindex="4" target="_blank" name="Training">Code School</a>
<a href="http://www.linkedin.com/in/rodbeh" id="linkedin" class="tiptool" tabindex="5" target="_blank" name="résumé, contactos, etc.">Linkedin</a>
</p>
Please sign in to comment.
Something went wrong with that request. Please try again.