aboutsummaryrefslogtreecommitdiff
path: root/src/assets/css/main.css
blob: b6bd53883f23f48db3074cb70bb2ec68c0c6e1c3 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
html, body {
  margin: 0;
  border: 0;
  padding: 0;
  background-color: black;
}



@media screen and (max-width: 500px) {
  #nav, #space {
    display: none;
  }
  #mobile-nav {
    display: grid;
    height: 70px;
    grid-template-columns: 20% 20% 20% 20% 20%;
  }
}
@media screen and (min-width: 501px) and (max-width: 1099px) {
  .floatwrapper > center > :nth-child(1) {
    display: none;
  }
  .floatwrapper > center > :nth-child(2) {
    display: unset;
  }
  #nav {
    display: grid;
    width: 50px;
  }
  #space {
    display: none;
  }
  #mobile-nav {
    display: none;
  }
}
@media screen and (min-width: 1100px) {
  .floatwrapper > center > :nth-child(1) {
    display: unset;
  }
  .floatwrapper > center > :nth-child(2) {
    display: none;
  }
  #nav {
    display: grid;
  }
  #space {
    display: unset;
  }
  #mobile-nav {
    display: none;
  }
}



body {
  display: flex;
  flex-flow: row nowrap;
  max-width: 100vw;
  width: 100vw;
  min-height: 100vh;
  background-image: url("/assets/image/background.jpg");
  background-size: cover;
}

/* TESTING */
#nav {
  background-color: #fffa;
}
#content {
  background-color: #ddda;
}
#mobile-nav {
  background-color: #fffa;
}
/* END TESTING */


#nav {
  align-content: space-between;
}
#body {
  display: flex;
  flex-flow: column nowrap;
  flex-grow: 7;
}
#space {
  flex-grow: 2;
}

#content {
  flex-grow: 1;
}

.noaa {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: pixelated;
}
.floatwrapper {
  position: sticky
}

.mobile-nav-button {
  display: block;
  margin: auto;
}