summaryrefslogtreecommitdiff
path: root/euler-golf/css/styles.css
blob: 219012d1e816340a978bf1f5853fdf3188074342 (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
body {
  margin: 0;
  padding: 0;
  overflow: scroll;
  font-family: Lucida Console, Lucida Sans Typewriter, monaco,
    Bitstream Vera Sans Mono, monospace;
  width: 100vw;
  height: 100vh;
  background: rgb(238, 174, 202);
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
}

.canvas {
  padding: 0;
  margin: auto;
  display: block;
  border: 1px solid black;

  width: 100vw;
  height: 100vw;
}

button {
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
  margin-left: 5px;
}

.controls {
  cursor: pointer;
  padding: 12px;
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid white;
  border-radius: 8px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.modal {
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 80vw;
  max-width: 500px;
  min-height: 200px;

  padding: 12px;

  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid black;
  border-radius: 15px;
}

.modal-body {
  display: flex;
  justify-content: center;
}

.slider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3px;
}