hugo-theme-relearn/static/css/nucleus.css

358 lines
4.4 KiB
CSS
Raw Normal View History

2024-11-15 23:30:21 +00:00
*,
*::before,
*::after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
2024-11-15 23:30:21 +00:00
box-sizing: border-box;
}
@-webkit-viewport {
2024-11-15 23:30:21 +00:00
width: device-width;
}
@-moz-viewport {
2024-11-15 23:30:21 +00:00
width: device-width;
}
@-o-viewport {
2024-11-15 23:30:21 +00:00
width: device-width;
}
@viewport {
2024-11-15 23:30:21 +00:00
width: device-width;
}
html {
font-size: 16px;
-webkit-text-size-adjust: 100%;
2024-11-15 23:30:21 +00:00
text-size-adjust: 100%;
}
body {
2024-11-15 23:30:21 +00:00
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
2024-11-15 23:30:21 +00:00
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
2024-11-15 23:30:21 +00:00
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
2024-11-15 23:30:21 +00:00
height: 0;
}
[hidden],
template {
2024-11-15 23:30:21 +00:00
display: none;
}
a {
background: transparent;
2024-11-15 23:30:21 +00:00
text-decoration: none;
}
abbr[title] {
2024-11-15 23:30:21 +00:00
border-bottom: 1px dotted;
}
dfn {
2024-11-15 23:30:21 +00:00
font-style: italic;
}
sub,
sup {
font-size: 0.8rem;
line-height: 0;
position: relative;
2024-11-15 23:30:21 +00:00
vertical-align: baseline;
}
sup {
2024-11-15 23:30:21 +00:00
top: -0.5em;
}
sub {
2024-11-15 23:30:21 +00:00
bottom: -0.25em;
}
iframe {
2024-11-15 23:30:21 +00:00
border: 0;
}
img {
border: 0;
2024-11-15 23:30:21 +00:00
max-width: 100%;
}
svg:not(:root) {
2024-11-15 23:30:21 +00:00
overflow: hidden;
}
figure {
2024-11-15 23:30:21 +00:00
margin: 1rem 2.5rem;
}
hr {
2024-11-15 23:30:21 +00:00
height: 0;
}
pre:not(.mermaid) {
2024-11-15 23:30:21 +00:00
overflow: auto;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
2024-11-15 23:30:21 +00:00
margin: 0;
}
button {
overflow: visible;
2024-11-15 23:30:21 +00:00
padding: 0;
}
button,
select {
2024-11-15 23:30:21 +00:00
text-transform: none;
}
button,
2024-11-15 23:30:21 +00:00
html input[type='button'],
input[type='reset'],
input[type='submit'] {
-webkit-appearance: button;
2024-11-15 23:30:21 +00:00
cursor: pointer;
}
button[disabled],
html input[disabled] {
2024-11-15 23:30:21 +00:00
cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
2024-11-15 23:30:21 +00:00
padding: 0;
}
input {
2024-11-15 23:30:21 +00:00
line-height: normal;
}
2024-11-15 23:30:21 +00:00
input[type='checkbox'],
input[type='radio'] {
padding: 0;
}
2024-11-15 23:30:21 +00:00
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
height: auto;
}
2024-11-15 23:30:21 +00:00
input[type='search'] {
-webkit-appearance: textfield;
}
2024-11-15 23:30:21 +00:00
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
legend {
border: 0;
2024-11-15 23:30:21 +00:00
padding: 0;
}
textarea {
2024-11-15 23:30:21 +00:00
overflow: auto;
}
optgroup {
2024-11-15 23:30:21 +00:00
font-weight: bold;
}
table {
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
2024-11-15 23:30:21 +00:00
width: 100%;
}
2024-11-15 23:30:21 +00:00
tr,
td,
th {
vertical-align: middle;
}
2024-11-15 23:30:21 +00:00
th,
td {
padding: 0.425rem 0;
}
th {
2024-11-15 23:30:21 +00:00
text-align: start;
}
p {
2024-11-15 23:30:21 +00:00
margin: 1rem 0;
}
2024-11-15 23:30:21 +00:00
ul,
ol {
2021-09-28 22:02:34 +00:00
margin-top: 1rem;
2024-11-15 23:30:21 +00:00
margin-bottom: 1rem;
}
ul ul,
ul ol,
ol ul,
ol ol {
margin-top: 0;
margin-bottom: 0;
}
blockquote {
2021-09-28 22:02:34 +00:00
margin: 1.5rem 0;
2024-11-15 23:30:21 +00:00
padding-inline-start: 0.85rem;
}
cite {
display: block;
2024-11-15 23:30:21 +00:00
font-size: 0.925rem;
}
cite:before {
content: '\2014 \0020';
}
pre:not(.mermaid) {
2021-09-28 22:02:34 +00:00
margin: 1.5rem 0;
2024-11-15 23:30:21 +00:00
padding: 0.938rem;
}
code {
2024-11-15 23:30:21 +00:00
vertical-align: bottom;
}
small {
2024-11-15 23:30:21 +00:00
font-size: 0.925rem;
}
hr {
border-left: none;
border-right: none;
border-top: none;
2024-11-15 23:30:21 +00:00
margin: 1.5rem 0;
}
fieldset {
border: 0;
padding: 0.938rem;
2024-11-15 23:30:21 +00:00
margin: 0 0 1rem 0;
}
input,
label,
select {
2024-11-15 23:30:21 +00:00
display: block;
}
label {
2024-11-15 23:30:21 +00:00
margin-bottom: 0.425rem;
}
label.required:after {
content: '*';
}
label abbr {
display: none;
}
textarea,
input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
input[type='color'],
input[type='date'],
input[type='datetime'],
input[type='datetime-local'],
input[type='month'],
input[type='time'],
input[type='week'],
select[multiple='multiple'] {
-webkit-transition: border-color;
-moz-transition: border-color;
transition: border-color;
border-radius: 0.1875rem;
margin-bottom: 0.85rem;
padding: 0.425rem 0.425rem;
2024-11-15 23:30:21 +00:00
width: 100%;
}
textarea:focus,
input[type='email']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
input[type='url']:focus,
input[type='color']:focus,
input[type='date']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='month']:focus,
input[type='time']:focus,
input[type='week']:focus,
select[multiple='multiple']:focus {
outline: none;
}
textarea {
2024-11-15 23:30:21 +00:00
resize: vertical;
}
2024-11-15 23:30:21 +00:00
input[type='checkbox'],
input[type='radio'] {
display: inline;
2024-11-15 23:30:21 +00:00
margin-inline-end: 0.425rem;
}
2024-11-15 23:30:21 +00:00
input[type='file'] {
width: 100%;
}
select {
width: auto;
max-width: 100%;
2024-11-15 23:30:21 +00:00
margin-bottom: 1rem;
}
button,
2024-11-15 23:30:21 +00:00
input[type='submit'] {
cursor: pointer;
2023-12-05 11:50:13 +00:00
-webkit-user-select: none;
user-select: none;
white-space: nowrap;
2024-11-15 23:30:21 +00:00
border: inherit;
}