umami/styles/index.css

146 lines
1.8 KiB
CSS
Raw Normal View History

2020-07-17 10:03:38 +02:00
html,
body {
font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
2020-07-24 04:56:55 +02:00
font-weight: 400;
2020-07-17 10:03:38 +02:00
line-height: 1.8;
padding: 0;
margin: 0;
box-sizing: border-box;
2020-09-22 06:34:55 +02:00
min-height: 100%;
2020-09-20 10:33:39 +02:00
display: flex;
flex-direction: column;
2020-09-22 06:34:55 +02:00
flex: 1;
2020-09-20 10:33:39 +02:00
font-size: var(--font-size-normal);
overflow-y: overlay;
}
body {
2020-08-06 04:04:02 +02:00
color: var(--gray900);
background: var(--gray75);
2020-07-17 10:03:38 +02:00
}
2020-09-08 00:25:09 +02:00
.zh-CN {
font-family: 'Noto Sans SC', sans-serif !important;
2020-09-13 10:26:54 +02:00
}
2020-10-27 20:01:40 +01:00
.zh-TW {
2021-03-13 07:53:56 +01:00
font-family: 'Noto Sans TC', sans-serif !important;
2020-10-27 20:01:40 +01:00
}
2020-09-13 10:26:54 +02:00
.ja-JP {
font-family: 'Noto Sans JP', sans-serif !important;
2020-09-08 00:25:09 +02:00
}
2020-12-12 09:40:59 +01:00
.he-IL {
display: inline-block;
direction: rtl;
}
2020-07-17 10:03:38 +02:00
*,
*:before,
*:after {
box-sizing: inherit;
}
2020-08-07 07:03:02 +02:00
h1,
h2,
h3,
h4,
h5,
h6 {
2020-08-06 04:04:02 +02:00
font-weight: 400;
2020-10-10 05:37:24 +02:00
line-height: 30px;
padding: 0;
margin: 0;
2020-08-06 04:04:02 +02:00
}
button,
input,
select {
font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}
2020-08-04 03:12:28 +02:00
a,
a:active,
a:visited {
color: var(--primary400);
2020-07-24 04:56:55 +02:00
}
2020-08-15 10:17:15 +02:00
input[type='text'],
input[type='password'],
2020-08-06 08:03:07 +02:00
textarea {
2020-09-20 10:33:39 +02:00
color: var(--gray900);
background: var(--gray50);
2020-08-06 04:04:02 +02:00
padding: 4px 8px;
2020-08-06 08:03:07 +02:00
font-size: var(--font-size-normal);
line-height: 1.8;
2020-08-06 04:04:02 +02:00
border: 1px solid var(--gray500);
border-radius: 4px;
outline: none;
2020-08-08 05:36:57 +02:00
resize: none;
flex: 1;
}
2020-08-15 10:17:15 +02:00
input[type='checkbox'] + label {
margin-left: 10px;
}
label {
flex: 1;
margin-right: 20px;
2020-07-24 04:56:55 +02:00
}
2020-07-31 05:11:43 +02:00
2020-08-15 10:17:15 +02:00
label:empty {
flex: 0;
}
2020-08-09 08:48:43 +02:00
dt {
font-weight: 600;
margin: 0 0 5px 0;
2020-08-09 08:48:43 +02:00
}
dd {
margin: 0 0 30px 0;
2020-07-31 05:11:43 +02:00
}
2020-08-02 06:20:52 +02:00
2020-08-04 03:12:28 +02:00
main {
flex: 1;
2020-09-22 06:34:55 +02:00
display: flex;
flex-direction: column;
2020-08-04 03:12:28 +02:00
}
2020-09-21 00:42:01 +02:00
svg {
shape-rendering: geometricPrecision;
}
#__next {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
2020-09-20 10:33:39 +02:00
flex: 1;
}
#__modals {
z-index: 10;
}
2020-08-04 03:12:28 +02:00
.container {
2020-08-05 07:45:05 +02:00
padding: 0;
2020-08-04 03:12:28 +02:00
}
2020-08-02 06:20:52 +02:00
.row {
margin-right: 0;
margin-left: 0;
}
.row > .col,
.row > [class*='col-'] {
padding-right: 0;
padding-left: 0;
}
2020-08-08 05:36:57 +02:00
.center {
text-align: center;
}