@cpany/app
Version:
CPany web app
201 lines (178 loc) • 3.32 kB
CSS
:root {
--font-family-base: apple-system, BlinkMacSystemFont, 'Segoe UI',
Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
--font-family-mono: Consolas, 'Fira Code Regular', source-code-pro, Menlo, Monaco,
'Courier New', monospace;
--text-light-1: #2c3e50;
--text-light-2: #476582;
--text-light-3: #90a4b7;
--c-brand: #3273dc;
--c-brand-active: #3273dc;
}
@font-face {
font-family: 'WenQuanYiMicroHei';
src: url('/WenQuanYiMicroHei.ttf');
}
@font-face {
font-family: 'Fira Code Regular';
src: url('/FiraCode-Regular.ttf');
}
html {
font-family: var(--font-family-base);
font-size: 16px;
font-weight: 400;
color: var(--text-light-1);
}
html,
body {
background-color: white;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
line-height: 1.25;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
font-weight: 600;
}
h1 {
font-size: 1.9rem;
}
@media screen and (min-width: 420px) {
h1 {
font-size: 2.2rem;
}
}
h2 {
line-height: 1.25;
font-size: 1.65rem;
}
h3 {
font-size: 1.35rem;
}
h4 {
font-size: 1.15rem;
}
a {
text-decoration: none;
color: var(--c-brand);
}
.border-left {
border-top: none;
border-bottom: none;
border-right: none
}
.table {
border-spacing: 0;
}
.table,
.table thead,
.table tbody,
.table tfoot,
.table tr,
.table th,
.table td {
margin: 0;
}
.table tbody tr td {
border-width: 0 0 1px 0;
border-style: solid;
border-color: #dbdbdb;
}
.table tbody tr:last-child td {
border-bottom-width: 0px ;
}
.mobile-table td {
display: block;
}
.mobile-table td.text-center,
.mobile-table td.text-left,
.mobile-table td.text-right {
text-align: right ;
}
.mobile-table>div:last-child {
margin-bottom: 0;
}
.mobile-table div.border {
border-width: 0 0 1px 0;
border-style: solid;
border-color: #dbdbdb;
}
.mobile-table div.border:last-child {
border-bottom-width: 0px ;
}
.select::after {
z-index: 10;
right: 1rem;
border: 3px solid var(--c-brand);
border-radius: 2px;
border-right: 0;
border-top: 0;
content: ' ';
display: block;
height: 0.625em;
margin-top: -0.4375em;
pointer-events: none;
position: absolute;
top: 50%;
transform: rotate(-45deg);
transform-origin: center;
width: 0.625em;
}
::-webkit-selection {
background-color: #cce2ff;
}
::-moz-selection {
background-color: #cce2ff;
}
::selection {
background-color: #cce2ff;
}
input::-webkit-selection,
textarea::-webkit-selection {
background-color: rgba(100, 100, 100, 0.4);
color: rgba(0, 0, 0, 0.87);
}
input::-moz-selection,
textarea::-moz-selection {
background-color: rgba(100, 100, 100, 0.4);
color: rgba(0, 0, 0, 0.87);
}
input::selection,
textarea::selection {
background-color: rgba(100, 100, 100, 0.4);
color: rgba(0, 0, 0, 0.87);
}
body ::-webkit-scrollbar {
-webkit-appearance: none;
width: 8px;
height: 8px;
}
body ::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
body ::-webkit-scrollbar-thumb {
cursor: pointer;
border-radius: 8px;
background: rgba(0, 0, 0, 0.25);
transition: color 0.2s ease;
}
body ::-webkit-scrollbar-thumb:window-inactive {
background: rgba(0, 0, 0, 0.15);
}
body ::-webkit-scrollbar-thumb:hover {
background: rgba(128, 135, 139, 0.8);
}