about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/main/games.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/main/games.scss')
-rw-r--r--app/assets/stylesheets/main/games.scss79
1 files changed, 79 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/games.scss b/app/assets/stylesheets/main/games.scss new file mode 100644 index 0000000..331c0c8 --- /dev/null +++ b/app/assets/stylesheets/main/games.scss
@@ -0,0 +1,79 @@
1// Place all the styles related to the GamesController controller here.
2// They will automatically be included in application.css.
3// You can use Sass (SCSS) here: http://sass-lang.com/
4#games-table {
5 border-spacing: 0;
6 width: 100%;
7
8 tr {
9 &.odd {
10 background-color: #fff;
11 }
12
13 &.even {
14 background-color: #edf;
15 }
16 }
17
18 td {
19 padding: 0.5em;
20 }
21
22 thead {
23 th {
24 border-bottom: 1px solid #aaa;
25 text-align: left;
26 padding: 0.5em;
27
28 a {
29 text-decoration: none;
30
31 &:visited {
32 color: blue;
33 }
34 }
35
36 .current {
37 padding-right: 12px;
38 background-repeat: no-repeat;
39 background-position: right center;
40
41 &.asc {
42 background-image: image-url("up_arrow.gif");
43 }
44
45 &.desc {
46 background-image: image-url("down_arrow.gif");
47 }
48 }
49 }
50 }
51}
52
53.game-progress p {
54 margin: 0;
55}
56
57.game-title {
58 display: block;
59
60 & + span {
61 margin-top: 0.25em;
62 }
63}
64
65.game-started, .game-finished {
66 display: block;
67 font-size: 0.8em;
68 color: #777;
69}
70
71h2#games-title {
72 background-color: #d6aeff;
73 display: block;
74 font-size: 20px;
75 font-family: 'Roboto', sans-serif;
76 padding: 0.5em 20px;
77 border-top: 1px solid #edf;
78 border-bottom: 1px solid #edf;
79}