aboutsummaryrefslogtreecommitdiff
path: root/assets/css/main.css
blob: 2ef42ce3973f9b22a04b2b2c5d952bb9b0fff1bd (plain) (blame)
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
80
81
82
.p-summary {
  display: none;
}

.logo {
  height: 64px;
}

.print-footer {
  display: none;
}

figcaption {
  text-align: center;
}

@media print {
  .sidebar {
    display: none;
  }
  article {
    border: 0
  }
  article footer {
    display: none;
  }
  .container>header {
    display: none;
  }
  .container>footer {
    display: none;
  }
  .comments {
    display: none;
  }
  .h-entry {
    width: 100% !important;
  }
  .container {
    width: 100% !important;
  }
  .print-footer {
    display: block !important;
  }
}

/* Give canvas a proper size and pixel perfect scaling */
canvas {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
  border: 0px;
  width: 512px;
  height: 512px;
  background: black;
  display: block;
  /* For nice loading */
}

#pico-container {
  width: 512px;
  margin: auto;
}

#pico-container .buttons {
  margin-top: 24px;
  display: grid;
  grid-template-columns: calc(100%/6) calc(100%/6) calc(100%/6) calc(100%/6) calc(100%/6) calc(100%/6);
  grid-auto-rows: 1fr;
  grid-template-areas:
    ". up . . . ."
    "left . right . . a"
    ". down . . b . "
}

.square_hack {
  width:0;
  padding-bottom: 100%;
}