mirror of
https://github.com/anatolykopyl/vk-bingo.git
synced 2026-03-26 04:44:26 +00:00
💄 Подчистил CSS
This commit is contained in:
@@ -41,7 +41,7 @@ export default {
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 0px;
|
||||
margin: 0;
|
||||
background-color: #5a5a5a;
|
||||
}
|
||||
|
||||
@@ -62,14 +62,14 @@ body {
|
||||
color: #f3f3f350;
|
||||
background-color: #12121250;
|
||||
border-radius: 6px;
|
||||
padding: 3px 6px 3px 6px;
|
||||
padding: 3px 6px;
|
||||
position: fixed;
|
||||
width: 20ch;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 10px;
|
||||
text-align: center;
|
||||
margin: 0 auto 0 auto;
|
||||
margin: 0 auto;
|
||||
transition: all 0.3s;
|
||||
cursor: pointer;
|
||||
z-index: -1;
|
||||
@@ -80,14 +80,6 @@ body {
|
||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.correct {
|
||||
color: #121212;
|
||||
background-color: rgb(124, 230, 124) !important;
|
||||
}
|
||||
.wrong {
|
||||
background-color: rgb(255, 71, 71) !important;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 520px) {
|
||||
.source {
|
||||
display: none;
|
||||
|
||||
@@ -31,7 +31,7 @@ export default {
|
||||
background-color: #5a5a5a;
|
||||
border-radius: 6px;
|
||||
margin: 3px;
|
||||
padding: 5px 9px 5px 9px;
|
||||
padding: 5px 9px;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
.option:hover {
|
||||
|
||||
@@ -45,14 +45,14 @@ div {
|
||||
width: 400px;
|
||||
margin: auto;
|
||||
border-radius: 18px;
|
||||
padding: 40px 10px 40px 10px;
|
||||
padding: 40px 10px;
|
||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: 1em;
|
||||
text-align: center;
|
||||
padding: 5px 8px 5px 8px;
|
||||
padding: 5px 8px;
|
||||
margin-bottom: 1em;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
@@ -67,14 +67,14 @@ button {
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
width: 20ch;
|
||||
padding: 5px 8px 5px 8px;
|
||||
padding: 5px 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 520px) {
|
||||
div {
|
||||
width: 100%;
|
||||
padding: 40px 0px 40px 0px;
|
||||
padding: 40px 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<span v-show="!correct" class="wrong-answr">Нет, это был не {{ selectedName }} 😢</span>
|
||||
<span v-show="!correct" class="wrong">Нет, это был не {{ selectedName }} 😢</span>
|
||||
<div class="result" v-bind:class="{correct: correct}">
|
||||
{{ name }} {{ date }}
|
||||
</div>
|
||||
@@ -21,12 +21,17 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
.result {
|
||||
padding: 30px 40px 30px 40px;
|
||||
padding: 30px 40px;
|
||||
border-radius: 8px;
|
||||
background-color: #5a5a5a;
|
||||
}
|
||||
|
||||
.wrong-answr {
|
||||
.correct {
|
||||
color: #121212;
|
||||
background-color: rgb(124, 230, 124);
|
||||
}
|
||||
|
||||
.wrong {
|
||||
color: rgb(255, 71, 71);
|
||||
}
|
||||
</style>
|
||||
@@ -17,10 +17,10 @@ export default {
|
||||
<style scoped>
|
||||
div {
|
||||
width: 350px;
|
||||
border-radius: 0px 0px 17px 17px;
|
||||
border-radius: 0 0 17px 17px;
|
||||
background-color: #f3f3f3;
|
||||
margin: auto;
|
||||
padding: 0.4em 18px 0.4em 18px;
|
||||
padding: 0.4em 18px;
|
||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
@@ -42,9 +42,9 @@ span {
|
||||
div {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
padding: 0.4em 0px 0.4em 0px;
|
||||
bottom: 0px;
|
||||
border-radius: 0px;
|
||||
padding: 0.4em 0;
|
||||
bottom: 0;
|
||||
border-radius: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,8 +72,8 @@ div {
|
||||
div {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
padding: 1em 0px 1em 0px;
|
||||
margin: 1em 0px 0px 0px;
|
||||
padding: 1em 0;
|
||||
margin: 1em 0 0 0;
|
||||
border-radius: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user