static/style.css

changeset 19
16fa9fb20b32
child 20
3199e289ae62
equal deleted inserted replaced
18:1c8ff93fbfac 19:16fa9fb20b32
1 body
2 {
3 font-family: "Oxygen-Sans", "Latin Modern Sans", Tahoma, FreeSans, Arial, sans-serif;
4 background: white;
5 color: black;
6 margin: 0;
7 padding: 0;
8 font-size: 24pt;
9 }
10 a
11 {
12 color: inherit;
13 text-decoration: none;
14 }
15 a:hover
16 {
17 text-decoration: underline;
18 }
19 h1
20 {
21 padding-top: 10pt;
22 padding-bottom: 10pt;
23 text-align: center;
24 background: #dc9e00;
25 background: linear-gradient(to bottom, #dc9e00 0%,#eaaf19 49%,#dc9e00 92%,#906700 100%);
26 color: white;
27 }
28 #aikataulu
29 {
30 width:100%;
31 margin: auto;
32 }
33
34 .sarake-aika, .sarake-linja
35 {
36 text-align: center;
37 }
38
39 .sarake-määränpää
40 {
41 text-align: left;
42 }
43
44 td, th, body
45 {
46 font-size: 24pt;
47 }
48
49 .sarake-aika, .sarake-linja
50 {
51 width: 25%;
52 }
53
54 h1
55 {
56 font-variant: small-caps;
57 }
58
59 .sarake-määränpää a
60 {
61 white-space: pre-wrap;
62 }
63
64 #aikataulu tr td
65 {
66 padding-bottom: 10px;
67 padding-top: 10px;
68 padding-left: 0px;
69 padding-right: 0px;
70 margin: 0px;
71 border-top: 1px solid gray;
72 }
73
74 #aikataulu tr:nth-child(even) {
75 background-color: #F8F8F8;
76 }
77
78 #aikataulu tr.yö td
79 {
80 /*
81 background-color: #d8d8ff;
82 color: #008;
83 border-bottom: 1px solid #00A;
84 */
85 background-color: #004;
86 color: #bef;
87 border-top: 1px solid #008;
88 }
89
90 #aikataulu tr.yö:nth-child(even) td
91 {
92 background-color: #003;
93 }
94
95 #pysäkki-info
96 {
97 text-align: center
98 }
99
100 .pysäkki-sijainti
101 {
102 font-size: smaller;
103 }
104
105 .sarake-määränpää
106 {
107 text-align: center;
108 }
109
110 .sarake-pysäkki
111 {
112 text-align: center;
113 }

mercurial