Accesibility fixes from the report.
[wolnelektury.git] / src / wolnelektury / static / scss / eink.scss
1 .media-eink{
2     a {
3     }
4     
5     body {
6         background: white;
7     }
8
9     #header-wrapper {
10         background: none;
11        
12         header#main {
13             background: none;
14             color: black;
15             
16             a {
17                 color: black;
18                 text-decoration: underline;
19             }
20
21             #logo {
22                 background-image: url('../img/logo-bez.png');
23                 background-size: contain;
24                 background-position: 50%;
25                 background-repeat: no-repeat;
26                 
27                 img {
28                     opacity: 0;
29                 }
30             }
31
32             form#search-area {
33                 background: none;
34
35                 #search-field {
36                     right: 93px;
37                     top: -1px;
38                     
39                     input#search {
40                         box-sizing: border-box;
41                         box-shadow: none;
42                         border: 1px solid black;
43                         border-radius: 0;
44                         height: 45px;
45                         &::placeholder {
46                             opacity: 1;
47                             color: black;
48                         }
49                     }
50                 }
51
52                 button {
53                     background: none;
54                     color: black;
55                     border: 1px solid black;
56                 }
57             }
58         }
59     }
60
61     #main-menu {
62         background: none;
63     }
64
65     .book-mini-box {
66         .book-mini-box-inner, .white-box {
67             border: 1px solid black;
68         }
69     }
70     .white-box {
71         border: 1px solid black;
72     }
73
74
75
76
77     .book-wide-box {
78         .book-box-inner {
79             border: 1px solid black;
80             
81             .cite {
82                 background: white;
83                 border-width: 0 1px 1px 1px;
84                 border-style: solid;
85                 border-color: black;
86             }
87         }
88     }
89
90
91
92     .book-box-tools {
93         .book-box-read {
94             a {
95                 background: white;
96                 color: black;
97                 border: 1px solid black;
98                 &:before {
99                     filter: invert(1);
100                 }
101             }
102         }
103         
104         .book-box-download a {
105             color: black;
106             &.downarrow {
107                 color: black;
108             }
109         }
110     }
111
112
113     .plain-list a, .white-box a {
114         color: black;
115         text-decoration: underline;
116     }
117
118
119     #show-menu {
120         background: white;
121         color: black;
122         &:before, &:after {
123             border-color: black;
124         }
125     }
126     #menu {
127         background: white;
128         border-right: 3px solid black;
129     }
130
131     
132     .annoy-banner {
133         background: white !important;
134         color: black !important;
135         border: 3px solid black;
136     }
137
138     .annoy-banner-on_blackout {
139         display: none !important;
140     }
141     .annoy-banner_blackout {
142         display: none !important;
143     }
144     
145 }
146
147