Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fork on github & footer design and positioning

  • Loading branch information...
commit 805a74477ffec750aca2efcd7fed58e4709ef7dc 1 parent edee40c
Ida Swarczewskaja authored
Showing with 14 additions and 8 deletions.
  1. +12 −5 resources/style.css
  2. +0 −1  src/game.opa
  3. +2 −2 src/page.opa
View
17 resources/style.css
@@ -19,6 +19,9 @@ time, mark, audio, video {
font: inherit;
vertical-align: baseline;
}
+body {
+ font:normal 13px/100% Verdana, Tahoma, sans-serif;
+}
/* line 20, ../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.11.3/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
body {
@@ -690,15 +693,19 @@ tr {
.has_errors {
display: block;
}
-
+/* Footer */
.footer {
width: 445px;
position:relative;
- margin: 8px auto 15px auto;
- text-align:center;
+ margin: 0;
+ text-align:right;
font-weight:bold;
+ position: absolute;
+ bottom: 10px;
+ right: 45px;
+ font-size:14px;
}
+.footer, .footer a {color:#8D8D8D;text-decoration:none;}
.footer span {margin: 0 5px;}
-.footer img {margin:3px 0 0 2px;}
+.footer img {margin:1px 0 0 2px;}
.footer span, .footer a, .footer img {vertical-align:top;}
-.footer a {color:#666;}
View
1  src/game.opa
@@ -160,7 +160,6 @@ Game = {{
xml = color ->
<>
- {Page.header}
<div onready={_ -> Network.add_callback(game_finished_recieved, game_observer)}>
<div onready={_ -> Network.add_callback(persistent_game_state_changed(name,_), persistent_game_state)}>
<div onready={_ -> when_ready(name,color, board, game_state, game) } class="game">
View
4 src/page.opa
@@ -21,9 +21,9 @@ Page = {{
fourOfour() = default({ some = "fourofour"}, <h1>404</h1>)
header =
- <a href="http://github.com/mattgu74/OpaTetris">
+ <a href="http://github.com/mads379/opa-chess">
<img style="position: absolute; top: 0; right: 0; border: 0;"
- src="https://a248.e.akamai.net/assets.github.com/img/4c7dc970b89fd04b81c8e221ba88ff99a06c6b61/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67" alt="Fork me on GitHub"/>
+ src="https://a248.e.akamai.net/assets.github.com/img/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub"/>
</>
footer =
Please sign in to comment.
Something went wrong with that request. Please try again.