inital commit
This commit is contained in:
34
include/style.lua
Normal file
34
include/style.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
local M = {}
|
||||
|
||||
M.get = function ()
|
||||
return [[
|
||||
<style>
|
||||
.screen {
|
||||
width: 640px;
|
||||
height: 600px;
|
||||
background-image: "/static/bg.jpg";
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.ui {
|
||||
width: 200px;
|
||||
height: 300px;
|
||||
border: 3px solid red;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
]]
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user