generated from nhcarrigan/template
feat: convert to an astro application (!9)
Reviewed-on: https://codeberg.org/nhcarrigan/docs/pulls/9 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
53
src/styles/style.css
Normal file
53
src/styles/style.css
Normal file
@ -0,0 +1,53 @@
|
||||
:root,
|
||||
:root[data-theme="light"] {
|
||||
--primary-color: #04624f;
|
||||
--background-color: #abfcecdd;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
--background-color: #04624fdd;
|
||||
--primary-color: #abfcec;
|
||||
}
|
||||
|
||||
.main-frame::before {
|
||||
background: url(https://cdn.nhcarrigan.com/background.png);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.main-pane {
|
||||
margin: auto;
|
||||
background-color: var(--background-color);
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.sidebar-pane,
|
||||
.right-sidebar-panel {
|
||||
background-color: var(--background-color);
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: var(--primary-color) !important;
|
||||
}
|
||||
|
||||
header {
|
||||
color: var(--primary-color) !important;
|
||||
background-color: var(--background-color) !important;
|
||||
}
|
Reference in New Issue
Block a user