generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
styles.css
149 lines (125 loc) · 2.17 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
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
/*
Clock Widget
*/
.Clock_Face {
font-size: 60px;
line-height: 60px;
text-align: center;
}
.Clock_Divider {
height: 1px;
width: 100%;
margin: 20px 0;
background: var(--color-accent-1)
}
.Clock_Date {
font-size: 20px;
line-height: 20px;
color: var(--text-muted);
}
.Clock__time-container {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
.Clock__am-pm {
font-size: 20px;
line-height: 20px;
color: var(--text-muted);
}
/*
Quote Widget
*/
.Quote_Container {
padding: 30px;
text-align: center;
background: var(--color-base-10);
border: 1px solid var(--color-accent-1);
border-radius: 15px;
}
.Quote_Text {
font-size: 20px;
font-family: serif;
font-style: italic !important; /* overwriting obsidian default style */
}
.Quote_Author {
font-size: 12px;
color: var(--text-muted);
}
/*
Countdown Widget
*/
.Countdown_Container {
display: flex;
justify-content: space-between;
gap: 10px;
}
.Countdown_Item {
text-align: center;
border: 1px solid var(--color-accent-1);
border-radius: 10px;
padding: 20px 0;
flex: 1;
display: flex;
flex-direction: column;
gap: 12px;
}
.Countdown_Item h3 {
font-size: 50px;
line-height: 50px;
margin: 0px;
}
.Countdown_Item small {
color: var(--text-muted)
}
.Countdown_To {
text-align: center;
margin-top: 12px;
color: var(--text-muted);
}
/*
Counter Widget
*/
.Counter__container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.Counter__counter {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
.Counter__text {
color: var(--text-muted);
font-weight: bold;
font-size: 12px;
text-transform: uppercase;
}
/*
Widget config
*/
.WidgetConfig__actions {
opacity: 0;
transition: all 0.2s;
display: flex;
gap: 10px;
margin-top: 10px;
}
.WidgetConfig__container:hover .WidgetConfig__actions{
opacity: 1;
}
.WidgetConfig__input-group {
margin: 10px 0;
}