aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/style.css
blob: 4feb1d64fc7c63d359ba3a1a0176338f7c383293 (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
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');

#print-area {
  margin-top: 2em;
  padding: 1em;
}
.details {
  display: flex;
  padding: 1em;
}
.details .text {
  margin: 0;
}
.details .text * {
  margin: 0 1em;
}
.details .text textarea {
  background-color: #fff;
  border: solid 1px #ddd;
  font-family: 'Source Code Pro', serif;
  font-size: 1.3em;
  font-weight: bold;
  height: 3em;
  overflow: hidden;
  resize: none;
}
.print-btn {
  padding-top: 2em;
}
.print-btn button {
  color: #fff;
  height: 50px;
  width: 180px;
  background-color: #0074d9;
}

@media print {
  body * {
    visibility: hidden;
  }
  #print-area,
  #print-area * {
    visibility: visible;
  }
  #print-area input {
    border: none;
  }
  #print-area {
    position: absolute;
    left: 0;
    top: 0;
  }
}