-
Notifications
You must be signed in to change notification settings - Fork 0
/
Style.html
132 lines (100 loc) · 2.34 KB
/
Style.html
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
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.15.0/cdn/themes/light.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.15.0/cdn/themes/dark.css" />
<style>
body {
margin: 0;
font-family: var(--sl-font-sans); /* Inherits Shoelace's font stack */
}
.header {
background-color: black; /* Default background color */
color: white; /* Default text color */
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.header sl-icon-button::part(base) {
color: #fff;
}
.header sl-icon-button::part(base):hover,
.header sl-icon-button::part(base):focus {
color: #6853cf;
}
.header sl-icon-button::part(base):active {
color: #99999a;
}
.header.dark {
background-color: #212529; /* Dark theme background color */
}
.header__title {
font-size: 1.5rem;
margin: 0;
}
.main {
flex: 1;
margin-left: 15px;
margin-right: 15px;
}
.book__card {
Margin-top:10px;
margin-bottom:5px;
background-color:rgb(231, 231, 231);
Padding: 0.7rem;
border-radius: 5px;
display: flex; /* Enable flexbox layout */
align-items: center;
}
.book__icon {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 8px ;
margin-right: 10px;
}
.book__name {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 8px ;
}
.task__card{
margin-top:0px;
margin-top:0px;
background-color:rgb(244, 242, 242);
Padding-left:10px;
Padding-right:10px;
margin-bottom:5px;
padding-top: 5px;
border-radius: 5px;
}
.message__card{
background-color:rgb(255, 255, 255);
margin-top:-14px;
}
.task__title {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 8px ;
}
.footer {
padding: 0.1rem;
text-align: left;
font-size: 5px;
background: var(--sl-color-neutral-1000);
position: fixed; /* Make footer fixed to the bottom */
bottom: 0; /* Position it at the bottom of the window */
width: 100%;
}
.footer sl-icon-button::part(base) {
color: #fff;
}
.footer sl-icon-button::part(base):hover,
.footer sl-icon-button::part(base):focus {
color: #6853cf;
}
.footer sl-icon-button::part(base):active {
color: #99999a;
}
/* Optional styles for the button (can be customized) */
sl-button {
margin-left: 1rem;
}
</style>