styling changes

This commit is contained in:
genki_angel 2025-09-30 21:53:30 +01:00
parent 08a9f0528d
commit 4752ebc803
2 changed files with 28 additions and 11 deletions

View file

@ -31,7 +31,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
background: vars.$base-colour; background: vars.$base-colour;
// background: linear-gradient(-2deg,vars.$base-colour 65%, vars.$highlight 100%); background: linear-gradient(1deg,vars.$base-colour 35%, vars.$highlight 100%);
padding: 0 2px 0 1em; padding: 0 2px 0 1em;
gap: 1em; gap: 1em;
} }
@ -42,15 +42,17 @@
} }
.minimise { .minimise {
color: black; color: black;
border: 1px solid black; background-color: #ac9b38;
border: 2px solid #53461f;
box-sizing: border-box; box-sizing: border-box;
line-height: 32px; line-height: 32px;
height: 40px; height: 32px;
width: 40px; width: 32px;
text-align: center; text-align: center;
margin-right: .4em;
} }
.minimise:hover { .minimise:hover {
background-color: #53461f; background-color: vars.$base-colour;
cursor: pointer; cursor: pointer;
} }
</style> </style>

View file

@ -15,8 +15,8 @@
<!-- about --> <!-- about -->
<Window name="about"> <Window name="about">
<p> <p>
hello!&nbsp;&nbsp; ^w^/<br />welcome to my site, feel free to look around and learn something your government hello!&nbsp;&nbsp; ^w^/<br />welcome to my site, feel free to look around and learn something
doesn't want you to know :3 your government doesn't want you to know :3
</p> </p>
</Window> </Window>
@ -45,7 +45,7 @@
<td>placeholder</td> <td>placeholder</td>
</tr> </tr>
<tr> <tr>
<td>wanted for:</td> <td><span class="warning">wanted</span> for:</td>
<td>placeholder</td> <td>placeholder</td>
</tr> </tr>
<tr> <tr>
@ -100,21 +100,33 @@
<style lang="scss"> <style lang="scss">
@use '$lib/styles/variables' as vars; @use '$lib/styles/variables' as vars;
table {
border-collapse: collapse;
}
td { td {
padding: 1em; padding: 0.5em;
padding-top: 0.8em;
}
td:nth-child(odd) {
text-align: right;
border: 1px solid;
}
td:nth-child(even) {
border-bottom: 1px solid;
} }
#mostwanted { #mostwanted {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 1em; gap: 2em;
h1 { h1 {
color: vars.$warning; color: vars.$warning;
font-size: 3em; font-size: 3em;
padding-top: .5em; padding-top: 0.5em;
} }
h3 { h3 {
text-align: center; text-align: center;
font-size: 2em;
} }
#profile { #profile {
display: flex; display: flex;
@ -181,6 +193,9 @@
width: 99px; width: 99px;
height: 56px; height: 56px;
} }
.warning {
color: vars.$warning;
}
p { p {
text-align: center; text-align: center;
} }