summaryrefslogtreecommitdiff
path: root/talermerchantdemos/static/demo.css
blob: c38e601a9e692fb358a2d82c9ef83db51f44ea7d (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@charset "UTF-8";
/* style common to all demo pages */
.demobar h1 {
  text-align: center;
}

.demobar > p {
  padding: 0.5em;
}

.demobar a,
.demobar a:visited {
  color: inherit;
}


.tt {
  font-family: "Lucida Console", Monaco, monospace;
}

.informational-ok {
  background: lightgreen;
  border-radius: 1em;
  padding: 0.5em;
}

.informational-fail {
  background: lightpink;
  border-radius: 1em;
  padding: 0.5em;
}

.content {
  overflow-x: auto;
}

.demobar {
  overflow-x: auto;
  background-color: #033;
  color: white;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

body * {
  /* margin-left: 0.5vw; */
  left: 0.1vw;
}

@media (min-width: 500px) {
  .content {
    /* margin-left: 0vw; */
    padding-left: 2em;
    margin-right: 1em;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .demobar {
    /* height: 100%; */
    /* width: 25%; */
    /* NOTE: Please use "vh"/"vw" instead of "%" when possible, in the future. */
    height: min-content;
    width: 100vw;
    margin: 0;
    top: 0;
    left: 0;
    background-color: #033;
    color: white;
    position: relative;
    padding-right: 1em;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: center;
  }
}