フロントエンドプレイアブル
This commit is contained in:
0
app/assets/builds/.keep
Normal file
0
app/assets/builds/.keep
Normal file
0
app/assets/images/.keep
Normal file
0
app/assets/images/.keep
Normal file
BIN
app/assets/images/background.png
Normal file
BIN
app/assets/images/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 MiB |
BIN
app/assets/images/background_2.jpg
Normal file
BIN
app/assets/images/background_2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 576 KiB |
BIN
app/assets/images/header-logo.png
Normal file
BIN
app/assets/images/header-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 MiB |
10
app/assets/stylesheets/application.css
Normal file
10
app/assets/stylesheets/application.css
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* This is a manifest file that'll be compiled into application.css.
|
||||
*
|
||||
* With Propshaft, assets are served efficiently without preprocessing steps. You can still include
|
||||
* application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
|
||||
* cascading order, meaning styles declared later in the document or manifest will override earlier ones,
|
||||
* depending on specificity.
|
||||
*
|
||||
* Consider organizing styles into separate files for maintainability.
|
||||
*/
|
||||
18
app/assets/tailwind/application.css
Normal file
18
app/assets/tailwind/application.css
Normal file
@@ -0,0 +1,18 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
:root {
|
||||
--background-image-diplomacy: url('background.png');
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: var(--background-image-diplomacy);
|
||||
background-attachment: fixed;
|
||||
background-size: 600px;
|
||||
background-repeat: repeat;
|
||||
}
|
||||
|
||||
.game-map svg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 70vh;
|
||||
}
|
||||
Reference in New Issue
Block a user