mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-16 04:45:34 +00:00
first styling and layout
This commit is contained in:
parent
d661d8f82e
commit
e2f88a99f8
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@ node_modules/
|
||||
bin/
|
||||
dist/
|
||||
resources/js/neutralino.js
|
||||
|
||||
neutralinojs.log
|
@ -30,7 +30,7 @@
|
||||
"fullScreen": false,
|
||||
"alwaysOnTop": false,
|
||||
"icon": "/resources/icons/appIcon.png",
|
||||
"enableInspector": false,
|
||||
"enableInspector": true,
|
||||
"borderless": false,
|
||||
"maximize": false,
|
||||
"hidden": false,
|
||||
|
@ -5,7 +5,7 @@
|
||||
"author": "SpikeHD <spikegdofficial@gmail.com>",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
"dev": "",
|
||||
"build": ""
|
||||
"dev": "neu run",
|
||||
"build": "neu build"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="style/index.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="halvesContainer">
|
||||
<div id="firstHalf">
|
||||
<button>Play Official</button>
|
||||
</div>
|
||||
<div id="secondHalf">
|
||||
<button>Play Private</button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<body>
|
||||
<h1>Hello from Neutralino!</h1>
|
||||
</body>
|
33
resources/style/index.css
Normal file
33
resources/style/index.css
Normal file
@ -0,0 +1,33 @@
|
||||
body {
|
||||
overflow: none;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 0 30px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
background: linear-gradient(#ffd326, #ffc61e);
|
||||
color: #704a1d;
|
||||
font-weight: bold;
|
||||
height: 50px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#halvesContainer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#firstHalf, #secondHalf {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#firstHalf {
|
||||
border-right: 1px solid black;
|
||||
}
|
Loading…
Reference in New Issue
Block a user