-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
88 lines (74 loc) · 1.72 KB
/
style.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
/* Reset margins and paddings */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Remove default styles for all anchor tags */
a {
color: inherit; /* Makes the color inherit from the parent element */
}
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
box-sizing: border-box;
}
html, body {
background-color: antiquewhite;
overflow: hidden;
height: 100%;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#app{
width: 100%;
height: 100%;
padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: env(safe-area-inset-top);
padding-right: env(safe-area-inset-right);
padding-bottom: env(safe-area-inset-bottom);
padding-left: env(safe-area-inset-left);
box-sizing: border-box;
}
#canvas{
width:100%;
max-width: calc(100vh * 9 / 16);
aspect-ratio: 9 / 16;
height:100%;
}
footer{
color: #d0b9a3;
font-family: "Pixelify Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
font-size: 1rem;
padding: 1rem;
padding-top: 2rem;
font-display: block;
-webkit-font-smoothing: none; /* For WebKit browsers */
-moz-osx-font-smoothing: grayscale; /* For macOS browsers */
font-smooth: never; /* For future use and non-standard implementations */
text-rendering: geometricPrecision; /* For more precise text rendering */
}
/* Styles for tablets and up */
@media (min-width: 600px) {
#app {
padding: 20px;
padding: 3.5rem;
}
#canvas {
border-radius: 6vh;
box-shadow: 1.2vh 1.2vh 1px 0px rgb(224 200 169 / 53%);
max-width: min-content;
}
}