Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[css] design of footer links & right panel

  • Loading branch information...
commit d7d17cb0455b94d57230c74fbdc8ce2dee35e095 1 parent 88f2752
Ida Swarczewskaja authored

Showing 1 changed file with 28 additions and 10 deletions. Show diff stats Hide diff stats

  1. +28 10 resources/resources.css
38 resources/resources.css
@@ -5,20 +5,20 @@ html, body {
5 5 margin: 0;
6 6 padding: 0;
7 7 }
  8 +a {color:#808080;text-decoration:none;}
8 9
9 10 body {
10 11 background:black;
11   - font-family: "Helvetica Neue", Helvetica, sans-serif;
12   - font-size:85%;
13   - line-height:120%;
14   - font-weight:normal;
  12 + font: normal 12px/150% Helvetica, Arial, sans-serif;
  13 + color: #555;
  14 + text-shadow: 0 1px 1px black;
15 15 }
16 16
17 17 #game {
18 18 padding: 10px;
19 19 width: 445px;
20 20 position:relative;
21   - margin: 15px auto;
  21 + margin: 18px auto 8px auto;
22 22 background: url('opatetris-bg.jpg') repeat 0 0;
23 23 height: 515px;
24 24 -webkit-border-radius: 5px;
@@ -28,6 +28,18 @@ body {
28 28 -moz-box-shadow: 0px 3px 5px #333 inset;
29 29 box-shadow: 0px 3px 5px #333 inset;
30 30 }
  31 +.footer {
  32 + width: 445px;
  33 + position:relative;
  34 + margin: 8px auto 15px auto;
  35 + text-align:center;
  36 + font-weight:bold;
  37 +}
  38 +.footer span {margin: 0 5px;}
  39 +.footer img {margin:3px 0 0 2px;}
  40 +.footer span, .footer a, .footer img {vertical-align:top;}
  41 +.footer a {color:#666;}
  42 +
31 43 /* Field */
32 44 #tetris_board, .tetris_board {
33 45 position: absolute;
@@ -64,8 +76,14 @@ body {
64 76 top:10px;
65 77 display: block;
66 78 }
  79 +.author {
  80 + position: absolute;
  81 + top: 45px;
  82 + right: 25px;
  83 + font-weight: bold;
  84 +}
67 85 #tetris_next_preview, .tetris_next_preview {
68   - top:100px;
  86 + top:115px;
69 87 }
70 88 .tetris_next_preview {
71 89 background: transparent;
@@ -73,19 +91,19 @@ body {
73 91 width: 150px;
74 92 }
75 93 .next {
76   - top:70px;
  94 + top:85px;
77 95 background: url('opatetris-sprite.png') no-repeat -3px -53px;
78 96 height: 20px;
79 97 width: 54px;
80 98 }
81 99 #tetris_score {
82   - top:270px;
  100 + top:287px;
83 101 }
84 102 .score {
85 103 background: url('opatetris-sprite.png') no-repeat -3px -80px;
86 104 height: 20px;
87 105 width: 64px;
88   - margin-bottom:10px;
  106 + margin-bottom:8px;
89 107 }
90 108 #tetris_score_value {
91 109 text-align: left;
@@ -95,7 +113,7 @@ body {
95 113 color: gray;
96 114 width: 141px;
97 115 padding:5px;
98   - background:#1F1F1F;
  116 + background:#1c1c1c;
99 117 }
100 118 #control_div {
101 119 bottom:15px;

0 comments on commit d7d17cb

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