summaryrefslogtreecommitdiff
path: root/public/assets/css/css.css
blob: c44f95bc24cf9731636417f6a834df47fa2b1bfb (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
80
81
82
83
84
85
86
87
88
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: black;
  transition: opacity 200ms;
}

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.loading body {
  opacity: 0;
}
.loading * {
  transition: all 0s ease 0s !important;
}
.desktop {
  overflow: hidden;
}
.header {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  padding: 20px;
  background: white;
  z-index: 2;
}
.cell {
  display: flex;
  height: 100vh;
  width: 100vw;
}
.cell:nth-child(6n+1) { background-color: hsl(0, 10%, 98%); }
.cell:nth-child(6n+2) { background-color: hsl(50, 10%, 99%); }
.cell:nth-child(6n+3) { background-color: hsl(120, 10%, 98%); }
.cell:nth-child(6n+4) { background-color: hsl(190, 10%, 99%); }
.cell:nth-child(6n+5) { background-color: hsl(260, 10%, 98%); }
.cell:nth-child(6n+6) { background-color: hsl(310, 10%, 99%); }
.scroller {
  transition: transform 400ms;
}
.painting {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 20px;
}
.painting .image {
  flex: 1;
  height: 90%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
.about {
  flex: 0 0 300px;
  padding: 20px;
  display: flex;
  align-items: center;
  background: white;
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }
  #logo {
  }
  #mobile-nav {
    top: auto;
    bottom: 10px; left: 10px;
  }
  #close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}