-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
101 lines (85 loc) · 1.68 KB
/
styles.css
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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400&display=swap');
* {
font-family: 'Open Sans', sans-serif;
color: white;
}
h1 {
font-size: 2rem;
}
p {
text-align: left;
text-indent: 5px;
}
#canvas {
border: 2px solid gray;
background-color: black;
}
body {
display: flex;
justify-content: space-around;
align-items: center;
background-color: #222831;
}
article {
width: 50%;
border: 1px solid black;
padding: 15px;
}
main {
height: 100vh;
width: 33%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
#options {
width: 100%;
height: 20%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.options-group {
width: 70%;
display: flex;
justify-content: space-around;
align-items: center;
}
button {
border: 1px solid black;
background-color: #393E46;
width: fit-content;
font-size: large;
transition: background-color 0.3s ease-in;
transition: scale 0.25s ease-in-out;
}
button:hover {
background-color: black;
color: white;
scale: 1.1;
}
button:active{
scale: 0.9;
background-color: grey;
}
/* When the browser window is 600px or less, change the background color to lightgreen */
@media screen and (max-width: 1200px) {
body {
display: flex;
flex-direction: column;
}
}
@media screen and (max-width: 950px) {
* {
font-size: 20px;
}
.options-group {
flex-direction: column;
justify-content: space-around;
}
article {
width: 70%;
}
}