1
0
mirror of https://github.com/kognise/water.css.git synced 2025-02-23 21:35:42 +01:00
css-water.css/dist/light.standalone.css

332 lines
4.9 KiB
CSS
Raw Normal View History

2019-05-06 00:32:19 +02:00
/**
* Standalone light-themed version.
2019-05-27 23:43:00 +02:00
* Includes light variables and core, left as CSS variables
* so the theming can be adjusted at runtime.
2019-05-06 00:32:19 +02:00
*/
2019-05-27 23:43:00 +02:00
:root {
--background-body: #ffffff;
--background: #efefef;
--background-alt: #f7f7f7;
--selection: #9e9e9e;
--text-main: #363636;
--text-bright: #000000;
--links: #0076d1;
--focus: #0096bfab;
--border: #dbdbdb;
--code: #000000;
--animation-duration: 0.1s;
--button-hover: #dddddd;
--scrollbar-thumb: rgb(213, 213, 213);
--scrollbar-thumb-hover: rgb(196, 196, 196);
--form-placeholder: #949494;
--form-text: #000000;
2019-06-05 21:33:30 -05:00
--variable: #39a33c;
--highlight: #ffff00;
2019-05-27 23:43:00 +02:00
}
2019-05-06 00:32:19 +02:00
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
line-height: 1.4;
2019-05-06 00:32:19 +02:00
max-width: 800px;
margin: 20px auto;
padding: 0 10px;
2019-05-27 23:43:00 +02:00
color: var(--text-main);
background: var(--background-body);
2019-05-06 00:32:19 +02:00
text-rendering: optimizeLegibility;
}
2019-05-27 23:43:00 +02:00
button, input, textarea {
transition: background-color var(--animation-duration) linear,
border-color var(--animation-duration) linear,
color var(--animation-duration) linear,
box-shadow var(--animation-duration) linear,
transform var(--animation-duration) ease;
2019-05-06 00:32:19 +02:00
}
h1 {
font-size: 2.2em;
margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 12px;
}
2019-05-27 23:43:00 +02:00
h1,
h2,
h3,
h4,
h5,
h6,
2019-05-06 00:32:19 +02:00
strong {
2019-05-27 23:43:00 +02:00
color: var(--text-bright);
2019-05-06 00:32:19 +02:00
}
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
th {
font-weight: 600;
}
2019-06-05 21:33:30 -05:00
q:before {
content: none;
}
q:after {
content: none;
}
blockquote , q{
2019-05-27 23:43:00 +02:00
border-left: 4px solid var(--focus);
2019-05-06 00:32:19 +02:00
margin: 1.5em 0em;
padding: 0.5em 1em;
font-style: italic;
}
blockquote > footer {
margin-top: 10px;
font-style: normal;
}
blockquote cite {
font-style: normal;
}
address {
font-style: normal;
}
a[href^='mailto']::before {
content: '📧 ';
}
a[href^='tel']::before {
content: '📞 ';
}
a[href^='sms']::before {
content: '💬 ';
}
2019-06-05 21:33:30 -05:00
mark {
background-color: var(--highlight);
border-radius: 2px;
padding: 0px 2px 0px 2px;
color: #000000;
}
2019-05-06 00:32:19 +02:00
button,
input[type='submit'],
input[type='button'],
input[type='checkbox'] {
cursor: pointer;
}
input:not([type='checkbox']):not([type='radio']),
select {
display: block;
}
2019-05-27 23:43:00 +02:00
input,
select,
button,
2019-05-06 00:32:19 +02:00
textarea {
2019-05-27 23:43:00 +02:00
color: var(--form-text);
background-color: var(--background);
2019-05-06 00:32:19 +02:00
font-family: inherit;
font-size: inherit;
2019-05-06 00:32:19 +02:00
margin-right: 6px;
margin-bottom: 6px;
padding: 10px;
2019-05-06 00:32:19 +02:00
border: none;
border-radius: 6px;
outline: none;
}
input:not([type='checkbox']):not([type='radio']),
2019-05-27 23:43:00 +02:00
select,
button,
textarea {
2019-05-06 00:32:19 +02:00
-webkit-appearance: none;
}
textarea {
margin-right: 0;
width: 100%;
box-sizing: border-box;
resize: vertical;
}
2019-05-27 23:43:00 +02:00
button,
input[type='submit'],
input[type='button'] {
2019-05-06 00:32:19 +02:00
padding-right: 30px;
padding-left: 30px;
}
2019-05-27 23:43:00 +02:00
button:hover,
input[type='submit']:hover,
2019-05-06 00:32:19 +02:00
input[type='button']:hover {
2019-05-27 23:43:00 +02:00
background: var(--button-hover);
2019-05-06 00:32:19 +02:00
}
2019-05-27 23:43:00 +02:00
input:focus,
select:focus,
button:focus,
2019-05-06 00:32:19 +02:00
textarea:focus {
2019-05-27 23:43:00 +02:00
box-shadow: 0 0 0 2px var(--focus);
2019-05-06 00:32:19 +02:00
}
input[type='checkbox']:active,
input[type='radio']:active,
input[type='submit']:active,
input[type='button']:active,
button:active {
transform: translateY(2px);
}
input:disabled,
select:disabled,
button:disabled,
textarea:disabled {
cursor: not-allowed;
2019-05-27 23:43:00 +02:00
opacity: 0.5;
2019-05-06 00:32:19 +02:00
}
::-webkit-input-placeholder {
2019-05-27 23:43:00 +02:00
color: var(--form-placeholder);
2019-05-06 00:32:19 +02:00
}
:-ms-input-placeholder {
2019-05-27 23:43:00 +02:00
color: var(--form-placeholder);
2019-05-06 00:32:19 +02:00
}
::-ms-input-placeholder {
2019-05-27 23:43:00 +02:00
color: var(--form-placeholder);
2019-05-06 00:32:19 +02:00
}
::placeholder {
2019-05-27 23:43:00 +02:00
color: var(--form-placeholder);
2019-05-06 00:32:19 +02:00
}
a {
text-decoration: none;
2019-05-27 23:43:00 +02:00
color: var(--links);
2019-05-06 00:32:19 +02:00
}
a:hover {
text-decoration: underline;
}
2019-06-05 21:33:30 -05:00
code, samp, time {
background: var(--background);
2019-05-27 23:43:00 +02:00
color: var(--code);
padding: 2.5px 5px;
2019-05-06 00:32:19 +02:00
border-radius: 6px;
2019-06-05 21:33:30 -05:00
font-size: 1em;
2019-05-06 00:32:19 +02:00
}
pre > code {
padding: 10px;
display: block;
overflow-x: auto;
}
2019-06-05 21:33:30 -05:00
var {
color: var(--variable);
font-style: normal;
font-family: monospace;
}
kbd {
background: var(--background);
border: 1px solid var(--border);
border-radius: 2px;
color: var(--text-main);
padding: 2px 4px 2px 4px;
}
2019-05-06 00:32:19 +02:00
img {
max-width: 100%;
height: auto;
}
hr {
border: none;
2019-05-27 23:43:00 +02:00
border-top: 1px solid var(--border);
2019-05-06 00:32:19 +02:00
}
table {
border-collapse: collapse;
margin-bottom: 10px;
width: 100%;
}
2019-05-27 23:43:00 +02:00
td,
th {
2019-05-06 00:32:19 +02:00
padding: 6px;
text-align: left;
}
th {
2019-05-27 23:43:00 +02:00
border-bottom: 1px solid var(--border);
2019-05-06 00:32:19 +02:00
}
tbody tr:nth-child(even) {
2019-05-27 23:43:00 +02:00
background-color: var(--background-alt);
2019-05-06 00:32:19 +02:00
}
::-webkit-scrollbar {
height: 10px;
width: 10px;
}
::-webkit-scrollbar-track {
2019-05-27 23:43:00 +02:00
background: var(--background);
2019-05-06 00:32:19 +02:00
border-radius: 6px;
}
::-webkit-scrollbar-thumb {
2019-05-27 23:43:00 +02:00
background: var(--scrollbar-thumb);
2019-05-06 00:32:19 +02:00
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
2019-05-27 23:43:00 +02:00
background: var(--scrollbar-thumb-hover);
2019-05-06 00:32:19 +02:00
}
::-moz-selection {
2019-05-27 23:43:00 +02:00
background-color: var(--selection);
2019-05-06 00:32:19 +02:00
}
::selection {
2019-05-27 23:43:00 +02:00
background-color: var(--selection);
2019-05-06 00:32:19 +02:00
}
/*# sourceMappingURL=light.standalone.css.map */