Hatsune miku menu first commit
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m3s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m3s
This commit is contained in:
105
vue/src/views/home2/Home2.vue
Normal file
105
vue/src/views/home2/Home2.vue
Normal file
@@ -0,0 +1,105 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="menu"></div>
|
||||
<div class="header"></div>
|
||||
<div class="footer">
|
||||
<div class="footer-difficulty"></div>
|
||||
<div class="footer-controls">
|
||||
<div class="control-container">
|
||||
<p class="control-button">F2</p>
|
||||
<p class="control-text">Help</p>
|
||||
</div>
|
||||
<div class="control-container">
|
||||
<p class="control-button">T</p>
|
||||
<p class="control-text">Sort</p>
|
||||
</div>
|
||||
<div class="control-container">
|
||||
<p class="control-button">F1</p>
|
||||
<p class="control-text">-/+ Favorite</p>
|
||||
</div>
|
||||
<div class="control-container">
|
||||
<p class="control-button">R</p>
|
||||
<p class="control-text">Customize</p>
|
||||
</div>
|
||||
<div class="control-container">
|
||||
<p class="control-button">Enter</p>
|
||||
<p class="control-text">Ok</p>
|
||||
</div>
|
||||
<div class="control-container">
|
||||
<p class="control-button">Esc</p>
|
||||
<p class="control-text">Back</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.menu {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url("/img/ss_c523b1c1311d195e10b1a96c70db1b85c20a8bda.1920x1080.jpg");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
background-color: rgba(128, 128, 128, 0.5);
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.footer-difficulty {
|
||||
height: 58%;
|
||||
background-color: rgba(200, 128, 128, 0.5);
|
||||
}
|
||||
|
||||
.footer-controls {
|
||||
background-color: rgba(200, 0, 128, 0.5);
|
||||
height: 42%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0 0.75rem;
|
||||
}
|
||||
|
||||
.control-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.control-text {
|
||||
font-family: sans-serif;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.control-button {
|
||||
background-color: gray;
|
||||
border-radius: 0.35rem;
|
||||
padding: 0.15rem 0.5rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user