Commit ff9bfc96 authored by Chunchi Che's avatar Chunchi Che

fix css

parent 7758ffcc
Pipeline #21428 passed with stages
in 14 minutes
......@@ -2,34 +2,6 @@
// thanks!
@charset "utf-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
......@@ -46,6 +18,11 @@ table {
border-spacing: 0;
}
#root {
display: flex;
margin: 0 auto;
text-align: center;
}
@import
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"),
......@@ -54,27 +31,16 @@ url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css")
"login-form",
"sign-in";
* {
box-sizing: border-box;
&:before,
&:after {
box-sizing: border-box;
}
}
body {
background-image: url(/neos-assets/background.png);
background-size:cover;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
color: #606468;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font: 87.5%/1.5em 'Open Sans', sans-serif;
display: flex;
margin: 0;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
a {
......
#root {
margin: 0 auto;
text-align: center;
}
:root {
--perspective: 800px;
--scale: 1.35;
......@@ -16,6 +21,54 @@
--highlight-color-x: #393;
--highlight-color-y: #6f6;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
#controller {
position: fixed;
display: flex;
gap: 20px;
bottom: 20px;
right: 20px;
}
#life-bar-container {
position: fixed;
display: flex;
gap: 20px;
top: 20px;
right: 20px;
font-size: 1.5em;
font-weight: 500;
font-family: inherit;
flex-direction: column;
}
#life-bar {
padding: 0.8em 1.6em;
background-color: #A9A9A9;
border-radius: 8px;
border: 1px solid transparent;
color: black;
opacity: .4;
}
#camera {
perspective: var(--perspective);
transform-style: preserve-3d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment