usrspace-browser-addon/src/popup.css

107 lines
1.8 KiB
CSS
Raw Normal View History

2021-09-23 02:35:11 +02:00
@font-face {
font-family: 'Nunito Sans';
font-style: normal;
font-weight: normal;
src: url('font/Nunito-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Nunito Sans';
font-style: normal;
font-weight: bold;
src: url('font/Nunito-Bold.ttf') format('truetype');
}
@font-face {
font-family: 'Nunito Sans';
font-style: italic;
font-weight: normal;
src: url('font/Nunito-Italic.ttf') format('truetype');
}
2021-09-23 02:35:11 +02:00
:root {
2023-02-04 17:09:47 +01:00
--light-blue: #2aa1bf;
--dark-blue: #095c81;
--light-color: #0c0c0c;
--dark-color: #ffffff;
--light-background: #f9f9f9;
--dark-background: #4a4a4a;
--light-code-background: #ebebeb;
--dark-code-background: #383838;
}
2018-12-27 14:57:46 +01:00
body {
2021-09-22 21:04:32 +02:00
width: 360px;
padding: 6px 12px;
color: var(--light-color);
background-color: var(--light-background);
2021-09-23 02:35:11 +02:00
font-family: 'Nunito Sans';
2018-12-27 14:57:46 +01:00
}
@media (prefers-color-scheme: dark) {
body {
color: var(--dark-color);
background-color: var(--dark-background);
}
}
2018-12-27 14:57:46 +01:00
section.no-padding {
margin: 0 -12px -6px;
}
2018-12-27 14:43:34 +01:00
h2 {
margin: 6px 0 4px;
2018-12-27 14:43:34 +01:00
}
2019-10-04 21:58:48 +02:00
summary {
margin: 6px 12px 6px;
2022-12-25 01:35:00 +01:00
cursor: pointer;
2019-10-04 21:58:48 +02:00
}
summary > h2 {
2021-09-22 21:04:32 +02:00
margin: 0;
display: inline-block;
2019-10-04 21:58:48 +02:00
}
time {
font-style: italic;
2018-12-27 14:43:34 +01:00
}
svg {
2021-09-22 21:04:32 +02:00
vertical-align: text-bottom;
2018-12-27 14:43:34 +01:00
}
.panel-section-list {
margin: 0 -12px;
}
.panel-list-item > .icon {
text-align: center;
width: 23px;
2021-09-22 21:04:32 +02:00
margin-right: 4px;
}
2022-12-25 01:35:00 +01:00
.link {
cursor: pointer;
}
2023-02-04 17:09:47 +01:00
#state > svg,
#calendar > .calendar-entry > svg,
#calendar > .calendar-entry strong {
2023-01-05 00:24:13 +01:00
margin-right: 8px;
}
#calendar > .calendar-entry {
display: flex;
}
#calendar address {
display: inline;
2018-12-27 14:43:34 +01:00
}
2018-12-27 10:37:31 +01:00
#space-api {
2021-09-22 21:04:32 +02:00
margin: 0;
padding: 0 8px;
height: 122px;
2021-09-22 21:04:32 +02:00
overflow-x: hidden;
overflow-y: scroll;
background-color: var(--light-code-background);
2018-12-27 14:43:34 +01:00
}
@media (prefers-color-scheme: dark) {
#space-api {
background-color: var(--dark-code-background);
}
}
2018-12-27 14:43:34 +01:00
#space-api code {
2021-09-22 21:04:32 +02:00
font-family: monospace;
font-size: 10px;
}