Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
ff9bfc96
Commit
ff9bfc96
authored
Apr 29, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix css
parent
7758ffcc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
46 deletions
+65
-46
src/styles/core.scss
src/styles/core.scss
+12
-46
src/styles/mat.css
src/styles/mat.css
+53
-0
No files found.
src/styles/core.scss
View file @
ff9bfc96
...
@@ -2,34 +2,6 @@
...
@@ -2,34 +2,6 @@
// thanks!
// thanks!
@charset
"utf-8"
;
@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
{
ol
,
ul
{
list-style
:
none
;
list-style
:
none
;
}
}
...
@@ -46,6 +18,11 @@ table {
...
@@ -46,6 +18,11 @@ table {
border-spacing
:
0
;
border-spacing
:
0
;
}
}
#root
{
display
:
flex
;
margin
:
0
auto
;
text-align
:
center
;
}
@import
@import
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css")
,
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")
...
@@ -54,27 +31,16 @@ url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css")
"login-form"
,
"login-form"
,
"sign-in"
;
"sign-in"
;
*
{
box-sizing
:
border-box
;
&
:before
,
&
:after
{
box-sizing
:
border-box
;
}
}
body
{
body
{
background-image
:
url(/neos-assets/background.png)
;
color-scheme
:
light
dark
;
background-size
:cover
;
color
:
rgba
(
255
,
255
,
255
,
0
.87
);
background-repeat
:
no-repeat
;
background-color
:
#242424
;
background-position
:
center
;
background-size
:
cover
;
background-attachment
:
fixed
;
color
:
#606468
;
font
:
87
.5%
/
1
.5em
'Open Sans'
,
sans-serif
;
font
:
87
.5%
/
1
.5em
'Open Sans'
,
sans-serif
;
display
:
flex
;
margin
:
0
;
margin
:
0
;
place-items
:
center
;
min-width
:
320px
;
min-height
:
100vh
;
}
}
a
{
a
{
...
...
src/styles/mat.css
View file @
ff9bfc96
#root
{
margin
:
0
auto
;
text-align
:
center
;
}
:root
{
:root
{
--perspective
:
800px
;
--perspective
:
800px
;
--scale
:
1.35
;
--scale
:
1.35
;
...
@@ -16,6 +21,54 @@
...
@@ -16,6 +21,54 @@
--highlight-color-x
:
#393
;
--highlight-color-x
:
#393
;
--highlight-color-y
:
#6f6
;
--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
{
#camera
{
perspective
:
var
(
--perspective
);
perspective
:
var
(
--perspective
);
transform-style
:
preserve-3d
;
transform-style
:
preserve-3d
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment