aboutsummaryrefslogtreecommitdiff
path: root/xp/vco/styles/app.css
blob: 502035326b24a6534d0178d0fa21953b1a99bb1c (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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
/* || General layout rules for narrow screens */

html {
	font-family: 'Righteous', cursive;
	font-size: 10px;
	background-color: black;
}

body {
	width: 100%;
	background-color: #999;
	/*background-image: url(../images/pattern.png);*/
}

h1, h2, label {
  font-size: 3rem;
  font-family: 'Nova Square', cursive;
  text-align: center;
  color: black;
  text-shadow: -1px -1px 1px #aaa,
               0px 1px 1px rgba(255,255,255,0.5),
               1px 1px 2px rgba(255,255,255,0.7),
               0px 0px 2px rgba(255,255,255,0.4);
  margin: 0;
}

h1 {
  font-size: 3.5rem;
  padding-top: 1.2rem;
}

.wrapper {
	height: 100%;
	max-width: 800px;
	margin: 0 auto;
}

/* || main UI sections */

header {
  height: 120px;
}

canvas {
  /*border-top: 1px solid black;
  border-bottom: 1px solid black;
  margin-bottom: -3px;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.7),
              0 3px 4px rgba(0,0,0,0.7);*/
}

.controls {
  background-color: rgba(0,0,0,0.1);
  height: calc(100% - 225px);
}

/* || select element styling */

.controls div {
  width: 100%;
  padding-top: 1rem;
}

.controls label, .controls select {
  display: block;
  margin: 0 auto;
}

.controls label {
  width: 100%;
  text-align: center;
  line-height: 3rem;
  padding: 1rem 0;
}

.controls select {
  width: 80%;
  font-size: 2rem;
}

/* || button styling */

button, form a {    
    background-color: #0088cc;
    background-image: linear-gradient(to bottom,  #0088cc 0%,#0055cc 100%); 
    text-shadow: 1px 1px 1px black;  
    text-align: center;
    color: white;
    border: none;
    width: 90%;
    margin: 1rem auto 0.5rem;
    max-width: 80%;
    font-size: 1.6rem; 
    line-height: 3rem;
    padding: .5rem; 
    display: block;
}

button:hover, button:focus, form a:hover, form a:focus {
	box-shadow: inset 1px 1px 2px rgba(0,0,0,0.7);
}

button:active, form a:active {
	box-shadow: inset 2px 2px 3px rgba(0,0,0,0.7);
}

a#activated {
  background-color: #fff;
  background-image: linear-gradient(to bottom,  #f00 0%,#a06 100%);
}

/* || Checkbox hack to control information box display */

label[for="toggle"] {
	font-family: 'NotoColorEmoji';
	font-size: 3rem;
	position: absolute;
	top: 4px;
	right: 5px;
	z-index: 5;
	cursor: pointer;
}

input[type=checkbox] {
   position: absolute;
   top: -100px;
}

aside {
   position: fixed;
   top: 0;
   left: 0;
   padding-top: 1.5rem;
   text-shadow: 1px 1px 1px black;  
   width: 100%;
   height: 100%;
   transform: translateX(100%);
   transition: 0.6s all;
   background-color: #999;
	background-image: linear-gradient(to top right, rgba(0,0,0,0), rgba(0,0,0,0.5));
}

aside p, aside li {
	font-size: 1.6rem;
	line-height: 1.3;
	padding: 0rem 2rem 1rem;
	color: white;
}

aside li {
  padding-left: 10px;
}


/* Toggled State of information box */

input[type=checkbox]:checked ~ aside {
  transform: translateX(0);
}

/* || Link styles */

a {
  color: #aaa;	
}

a:hover, a:focus {
  text-decoration: none;
}

@media (min-width: 481px) {
  /*CSS for medium width screens*/

  /* || Basic layout changes for the main control buttons */

}

@media all and (min-width: 800px) {
  /*CSS for wide screens*/

  h1 {
    font-size: 5rem;
    padding-top: 2.5rem;
  }

  aside {
   top: 0;
   left: 100%;
   text-shadow: 1px 1px 1px black;  
   width: 480px;
   transform: translateX(0);
   border-left: 2px solid black;
  }

  /* Toggled State of information box */

  input[type=checkbox]:checked ~ aside {
    transform: translateX(-480px);
  }

}

@media (min-width: 1100px) {
  /*CSS for really wide screens*/
}