summaryrefslogtreecommitdiff
path: root/docs/static/customstyle.css
blob: ce2140e7050d85a4e4292cc5a7e49dd023ab0456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* custom CSS for MicroPython docs
 */

.admonition-difference-to-cpython {
    border: 1px solid black;
}

.admonition-difference-to-cpython .admonition-title {
    margin: 4px;
}

/* custom CSS to sticky the ' viewing outdated version'
   warning
*/
.document > .admonition {
    position: sticky;
    top: 0px;
    background-color: salmon;
    z-index: 2;
}

body {
    overflow-x: unset!important;
}

/* override table width restrictions */
@media screen and (min-width: 767px) {

   .wy-table-responsive table td {
      /* !important prevents the common CSS stylesheets from overriding
         this as on RTD they are loaded after this stylesheet */
      white-space: normal !important;
   }

   .wy-table-responsive {
      overflow: visible !important;
   }
}

.strike {
    text-decoration: line-through;
}