Skip to content

Commit c127ddd

Browse files
authored
Add initial styles for layout and components
1 parent daac4b5 commit c127ddd

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

web/styles.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
2+
html, body {
3+
width: 100%;
4+
height: 100%;
5+
margin: 0;
6+
}
7+
8+
main {
9+
height: 98dvh;
10+
width: 98dvw;
11+
background-color: whitesmoke;
12+
position: absolute;
13+
top: 50%;
14+
left: 50%;
15+
transform: translate(-50%, -50%);
16+
border-radius: 3dvw;
17+
overflow: hidden;
18+
display: flex;
19+
flex-direction: row;
20+
}
21+
22+
.header-bar {
23+
background-color: gray;
24+
height: 5dvh;
25+
width: 100%;
26+
border-top-left-radius: 3dvw;
27+
border-top-right-radius: 3dvw;
28+
display: flex;
29+
align-items: center;
30+
justify-content: space-between;
31+
position: absolute;
32+
top: 0;
33+
left: 0;
34+
}
35+
36+
.app-title {
37+
margin-left: 2dvw;
38+
font-family: "Aptos", "Arial", sans-serif;
39+
font-weight: bold;
40+
font-size: 4dvh;
41+
}
42+
43+
.dot-container {
44+
display: flex;
45+
align-items: center;
46+
gap: 1dvw;
47+
padding-right: 1.5dvw;
48+
}
49+
50+
.dot {
51+
height: 3.2dvh;
52+
width: 3.2dvh;
53+
border-radius: 50%;
54+
}
55+
56+
.sidebar {
57+
background-color: #e5e5e5;
58+
width: 20dvw;
59+
height: 100%;
60+
padding-top: 7dvh;
61+
display: flex;
62+
flex-direction: column;
63+
font-family: "Aptos", "Arial", sans-serif;
64+
font-size: 2.5dvh;
65+
gap: 3dvh;
66+
padding-left: 2dvw;
67+
}
68+
69+
.sidebar-item {
70+
cursor: pointer;
71+
background-color: grey;
72+
}

0 commit comments

Comments
 (0)