FastBlog/src/FastBlog.Web/wwwroot/css/site.css

215 lines
5.2 KiB
CSS

@font-face {
font-family: 'Fira Code';
src: url('fonts/FiraCode-VF.woff2') format('woff2');
}
/* Orange color for dark color scheme (Forced) */
/* Enabled if forced with data-theme="dark" */
[data-theme=dark] {
--pico-text-selection-color: rgba(195, 234, 255, 0.37);
--pico-primary: #C3EAFF;
--pico-primary-background: rgba(126, 209, 255, 0.32);
--pico-primary-underline: rgba(195, 234, 255, 0.25);
--pico-primary-hover: #C3EAFF;
--pico-primary-hover-background: rgba(126, 209, 255, 0.60);
--pico-primary-focus: rgba(195, 234, 255, 0.90);
--pico-primary-inverse: #fff;
--pico-secondary: #C3EAFF;
--pico-secondary-background: rgba(195, 234, 255, 0.16);
--pico-secondary-underline: rgba(195, 234, 255, 0.25);
--pico-secondary-hover: #C3EAFF;
--pico-secondary-hover-background: rgba(195, 234, 255, 0.40);
--pico-secondary-focus: rgba(195, 234, 255, 0.90);
--pico-secondary-inverse: #fff;
--pico-background-color: #0f1a27;
--pico-card-background-color: #132232;
--pico-card-sectioning-background-color: #17273a;
--pico-form-element-background-color: #ffffff08;
--pico-form-element-active-background-color: #ffffff0D;
--pico-tip: #c5ffc3;
--pico-tip-background: rgba(197, 255, 195, 0.16);
--pico-tip-underline: rgba(197, 255, 195, 0.25);
--pico-tip-hover: #c5ffc3;
--pico-tip-hover-background: rgba(197, 255, 195, 0.40);
--pico-tip-focus: rgba(197, 255, 195, 0.90);
--pico-important: rgb(235, 195, 255);
--pico-important-background: rgba(235, 195, 255, 0.16);
--pico-important-underline: rgba(235, 195, 255, 0.25);
--pico-important-hover: rgb(235, 195, 255);
--pico-important-hover-background: rgba(235, 195, 255, 0.40);
--pico-important-focus: rgba(235, 195, 255, 0.90);
--pico-warning: rgb(255, 137, 55);
--pico-warning-background: rgba(255, 137, 55, 0.16);
--pico-warning-underline: rgba(255, 137, 55, 0.25);
--pico-warning-hover: rgb(255, 137, 55);
--pico-warning-hover-background: rgba(255, 137, 55, 0.40);
--pico-warning-focus: rgba(255, 137, 55, 0.90);
--pico-danger: rgb(255, 55, 55);
--pico-danger-background: rgba(255, 55, 55, 0.16);
--pico-danger-underline: rgba(255, 55, 55, 0.25);
--pico-danger-hover: rgb(255, 55, 55);
--pico-danger-hover-background: rgba(255, 55, 55, 0.40);
--pico-danger-focus: rgba(255, 55, 55, 0.90);
}
h1, h2, h3, h4, h5, h6 {
--pico-font-family: 'Fira Code', Roboto, sans-serif;
}
hr {
border-color: var(--pico-secondary-background);
}
a {
color: inherit;
text-decoration-color: inherit;
}
a {
color: #C3EAFF;
}
a:not(:hover) {
text-decoration: none;
}
html {
font-size: 14px;
}
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px;
}
.nav-container {
margin: 0 20px 20px;
padding-top: 0;
padding-bottom: 0;
}
.nav-container li {
font-size: 16px;
color: #C3EAFF;
}
.nav-container li a {
font-size: 16px;
color: inherit;
font-family: 'Fira Code', Roboto, sans-serif;
}
.nav-container h1 {
color: #C3EAFF;
font-size: 24px;
margin: 0;
}
.body {
margin-left: 15px;
margin-right: 15px;
}
.markdown p {
font-size: 16px;
}
.markdown a {
color: #C3EAFF;
}
.markdown hr {
margin-bottom: 35px;
margin-top: 35px;
}
.markdown-alert, .alert {
color: inherit;
background-color: inherit;
border-radius: var(--pico-border-radius);
border: 1px solid;
border-left: 5px solid;
padding: 10px;
margin-bottom: 10px;
}
.markdown-alert p, .alert p {
margin: 0;
}
.markdown-alert-title, .alert-title {
font-family: 'Fira Code', Roboto, sans-serif;
font-size: 16px;
font-weight: bold;
}
.markdown-alert-note, .alert-note {
color: var(--pico-primary);
background: var(--pico-primary-background);
border-color: var(--pico-primary-background);
}
.markdown-alert-tip, .alert-tip {
color: var(--pico-tip);
background: var(--pico-tip-background);
border-color: var(--pico-tip-background);
}
.markdown-alert-important, .alert-important {
color: var(--pico-important);
background: var(--pico-important-background);
border-color: var(--pico-important-background);
}
.markdown-alert-warning, .alert-warning {
color: var(--pico-warning);
background: var(--pico-warning-background);
border-color: var(--pico-warning-background);
}
.markdown-alert-caution, .alert-caution {
color: var(--pico-danger);
background: var(--pico-danger-background);
border-color: var(--pico-danger-background);
}
.blog-image {
display: block;
margin-left: auto;
margin-right: auto;
max-height: 30rem;
border: 7px solid rgba(0, 0, 0, 0);
border-radius: 0;
box-shadow: 0 0 0 5px #C3EAFF;
}
.btn-fw {
width: 100%;
}
article header h1,
article header h2,
article header h3,
article header h4,
article header h5,
article header h6 {
margin: 0;
padding: 5px 8px;
}
.no-margin {
margin: 0;
padding: 3px 0;
}