mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-05-10 23:33:07 +00:00
this is the initial commit for my AWESOME website
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
commit
e3c09d7f0d
42 changed files with 5710 additions and 0 deletions
62
static/css/dashboard.css
Normal file
62
static/css/dashboard.css
Normal file
|
@ -0,0 +1,62 @@
|
|||
form * {
|
||||
display: block;
|
||||
margin: 4px 0;
|
||||
}
|
||||
form *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
form *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.feed-update {
|
||||
background-color: #d5d4bb;
|
||||
height: fit-content;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.feed-update div:first-child {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.feed-update div:last-child {
|
||||
text-align: right;
|
||||
color: #3f3f38;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#dashboard-update-form * {
|
||||
width: 50%;
|
||||
min-width: 128px;
|
||||
}
|
||||
|
||||
#dashboard-profile * {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#dashboard-mood-history {
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
#dashboard-mood-history li {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 900px) {
|
||||
#dashboard-feed {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
.feed-update {
|
||||
padding: 4px;
|
||||
width: 280px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 900px) {
|
||||
.feed-update {
|
||||
border-bottom: 1px solid #afa870;
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
176
static/css/main.css
Normal file
176
static/css/main.css
Normal file
|
@ -0,0 +1,176 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
background-color: #21211d;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
font-family: "Gohufont 14", sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
main {
|
||||
background-color: #faf8da;
|
||||
width: 95%;
|
||||
height: 95%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #4630df;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
background-color: #e0d665;
|
||||
background-image: linear-gradient(to bottom, #f6ef98, #c7c07d);
|
||||
padding: 16px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
header nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2em;
|
||||
}
|
||||
|
||||
header nav a {
|
||||
text-decoration: none;
|
||||
text-shadow: 0 0px 4px rgba(0, 0, 0, 0.8);
|
||||
color: #faf8da;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
header nav a:visited {
|
||||
color: #faf8da;
|
||||
}
|
||||
header nav a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#ticker {
|
||||
position: relative;
|
||||
border: 1px solid #25251d;
|
||||
background-color: #454542;
|
||||
height: 1.5em;
|
||||
color: #faf8da;
|
||||
}
|
||||
#ticker > div {
|
||||
display: flex;
|
||||
float: left;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-right: 1px solid #25251d;
|
||||
background-color: #3b3b33;
|
||||
padding: 0 4px;
|
||||
min-width: 255px;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
#ticker div a {
|
||||
color: #faf8da;
|
||||
}
|
||||
#ticker #ticker-marquee {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#page {
|
||||
height: calc(100% - 1.5em - 76px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
padding: 1em;
|
||||
float: left;
|
||||
width: 256px;
|
||||
height: 100%;
|
||||
margin-right: 24px;
|
||||
border-right: 1px solid #afa870;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
#content > *:nth-child(2) {
|
||||
margin-top: 0;
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
#content > *:last-child {
|
||||
margin-bottom: 0;
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
|
||||
#flashes div {
|
||||
margin-bottom: 8px;
|
||||
padding: 8px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
#flashes div:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.flash-error {
|
||||
background-color: #e06583;
|
||||
border-color: #911533;
|
||||
}
|
||||
.flash-info {
|
||||
background-color: #8ca3f2;
|
||||
border-color: #6371a1;
|
||||
}
|
||||
.flash-success {
|
||||
background-color: #8cf2a6;
|
||||
border-color: #3da758;
|
||||
}
|
||||
|
||||
button,
|
||||
textarea,
|
||||
select,
|
||||
input {
|
||||
border: 1px solid #757462;
|
||||
background-color: white;
|
||||
padding: 4px;
|
||||
font-family: inherit;
|
||||
}
|
||||
button:focus,
|
||||
textarea:focus,
|
||||
select:focus,
|
||||
input:focus {
|
||||
outline: 0;
|
||||
border: 1px solid #000000;
|
||||
}
|
||||
button,
|
||||
select {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Gohufont 14";
|
||||
src: url("/fonts/gohufont-14.ttf") format("truetype"),
|
||||
url("/fonts/gohufont-14.woff") format("woff");
|
||||
}
|
BIN
static/fonts/gohufont-14.ttf
Normal file
BIN
static/fonts/gohufont-14.ttf
Normal file
Binary file not shown.
BIN
static/fonts/gohufont-14.woff
Normal file
BIN
static/fonts/gohufont-14.woff
Normal file
Binary file not shown.
BIN
static/fonts/josefin.ttf
Normal file
BIN
static/fonts/josefin.ttf
Normal file
Binary file not shown.
BIN
static/fonts/josefin.woff
Normal file
BIN
static/fonts/josefin.woff
Normal file
Binary file not shown.
BIN
static/img/logo.png
Normal file
BIN
static/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 460 B |
1
static/img/logo.svg
Normal file
1
static/img/logo.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg width="88.8" height="41.8" style="fill:none" viewBox="0 0 444 209" xmlns="http://www.w3.org/2000/svg"><path style="fill:none;stroke:#faf8da;stroke-width:24;stroke-linecap:square;stroke-linejoin:miter;stroke-opacity:1" d="M342 192v0l-90-90V42l30-30h30l30 30 30-30h30l30 30v60l-90 90"/><path style="fill:none;stroke:#faf8da;stroke-width:24.2904;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1" d="M12 197v0V12h180M12 102v0h150H12m180 0v0-90m0 90v0h-30"/></svg>
|
After Width: | Height: | Size: 476 B |
BIN
static/img/logotransition.png
Normal file
BIN
static/img/logotransition.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 153 B |
1
static/moods.txt
Normal file
1
static/moods.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue