main_web/MTG/style.css
2024-03-16 13:34:25 -04:00

424 lines
7.6 KiB
CSS
Executable File

*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
/* background-color: rgb(78, 69, 202); */
/* background: rgb(2,0,36); */
background: radial-gradient(
circle,
#792f22 0%,
#4f644f 47%,
rgb(108, 127, 131) 100%
);
/* background-color: #85640b; */
margin: 0;
min-height: 100%;
}
html {
min-height: 100%;
font-size: 110%;
}
#full {
color: rgb(165, 162, 162);
}
main {
display: flex;
flex-shrink: 1;
justify-content: center;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
Verdana, sans-serif;
flex-wrap: wrap;
align-content: center;
width: 100vw;
/* height: 100vh; */
position: relative;
margin-top: 5%;
}
.name {
font-size: 3vh;
display: flex;
margin: 0 0 10px;
padding: 10px 0;
opacity: 0.9;
background-color: #eee;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0%, #eee),
color-stop(100%, #ccc)
);
background-image: -webkit-linear-gradient(top, #eee, #aaa);
background-image: -moz-linear-gradient(top, #eee, #aaa);
background-image: -ms-linear-gradient(top, #eee, #aaa);
background-image: -o-linear-gradient(top, #eee, #aaa);
background-image: linear-gradient(top, #eee, #aaa);
border: 1px solid #999;
border-bottom: 1px solid #bbb;
border-radius: 30px;
text-shadow: 0 1px 0 #eee;
background-color: #eee;
width: auto;
/* min-height: px; */
justify-content: center;
align-content: center;
}
.life {
opacity: 0.9;
background-color: #eee;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0%, #eee),
color-stop(100%, #ccc)
);
background-image: -webkit-linear-gradient(top, #eee, #aaa);
background-image: -moz-linear-gradient(top, #eee, #aaa);
background-image: -ms-linear-gradient(top, #eee, #aaa);
background-image: -o-linear-gradient(top, #eee, #aaa);
background-image: linear-gradient(top, #eee, #aaa);
border: 1px solid #999;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(153, 153, 153);
border-bottom: 1px solid #bbb;
border-radius: 30px;
color: #333;
padding: 10px 0;
text-shadow: 0 1px 0 #eee;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
/* height: 2rem; */
/* height: calc(100%-35px); */
height:max-content
min-width: auto;
font-size: 4vh;
user-select: none;
/* margin-bottom: -50px; */
}
.life div {
margin: 10px;
}
.player {
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: min(1rem, 1rem);
/* margin-bottom: -100px; */
/* max-width: max-content; */
/* width: clamp(min-content, max-content, max-content+1rem); */
width: fit-content;
/* max-width: 25%; */
padding-top: 4%;/
}
.buttons1 {
font-size: 2.5vh;
/* font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
Verdana, sans-serif; */
/* color: #333; */
color: rgb(141, 140, 140);
text-shadow: 0 1px 0 #eee;
/* margin-top: 3px; */
/* user-select: none; */
align-items: center;
justify-content: space-evenly;
}
.icon {
position: relative;
/* background-color: #04AA6D; */
border: none;
padding: 20px;
width: 200px;
text-align: center;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
text-decoration: none;
overflow: hidden;
cursor: pointer;
border-radius: 50%;
}
.icon:after {
content: "";
background: #697069;
display: block;
position: absolute;
padding-top: 300%;
padding-left: 350%;
margin-left: -20px!important;
margin-top: -120%;
opacity: 0;
transition: all 0.8s;
border-radius: 25%
}
.icon:active:after {
padding: 0;
margin: 0;
opacity: 1;
transition: 0s
}
.buttons:focus,
.lifeDown:focus,
.lifeUp:focus {
-webkit-animation: beat 1s ease-in-out backwards;
animation: beat 1s ease-in-out backwards;
}
.buttons:active,
.lifeDown:active,
.lifeUp:active {
-webkit-animation: none;
animation: none;
}
#buttonWrapper {
display: flex;
flex-direction: row;
justify-content: space-evenly;
/* z-index: 100; */
width: 75%;
border-radius: 30px;
opacity: 0.6;
background-color: #eee;
position: absolute;
top: -40px;
right: 0;
margin-top: 100px;
/* padding-right: 5px; */
align-content: center;
}
.buttonSpan {
/* padding: 15px 15px; */
font-size: 4vh;
border-radius: 25%;
}
i {
pointer-events: auto;
}
.buttonText {
font-size: 1.5vw;
}
#d20 {
width: 6vh;
height: auto;
vertical-align: middle;
top: -5px;
}
#d20-face {
position: absolute;
top: 48%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-size: 1.75vh;
/* width: 100%; */
color: red;
user-select: none;
}
.dice {
position: relative;
/* width: 100%; */
}
/* #center {
color: red;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 10pt !important;
} */
.fiveLife {
position: relative;
z-index: 10;
/* font-size: 3rem; */
}
.lifeUp {
font-size: 7vh;
color: #00cc00;
}
.lifeDown {
font-size: 7vh;
color: #e60000;
}
.vert {
flex-direction: column;
/* font-size: 2rem ; */
}
/* Container holding the image and the text */
.container {
margin-top: 3px;
/* display: flex; */
position: relative;
flex-direction: row;
/* text-align: center; */
}
/* Centered text */
.centered {
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
color: #792f22;
font-size: 1.5vh;
}
/*
:root{
--black: rgb(28, 29, 36);
--white: whitesmoke;
--dark-red: #a8041d;
--dark-green: #174240;
--red: #eb0404;
--green: #01c321;
}
#centralizar{
position: relative;
left: 50%;
transform: translateX(-50%);
}
.container{
width: 70%;
max-width: 400px;
padding: 30px 50px;
position: absolute;
left: 50%;
top: 50%;
background-color: whitesmoke;
transform: translate(-50%,-50%);
border-radius: 8px;
}
*\
\*
#result{
position: absolute;
z-index: 2;
left: 50%;
top: 28%;
transform: translateX(-50%);
font-size: 40px;
}
img{
width: 50%;
margin-bottom: 5px;
position: relative;
left: 25%;
}
p{
text-align: center;
margin-bottom: 25px;
font-size: 18px;
}
.modificador{
width: 145px;
height: 46px;
display: flex;
margin-bottom: 25px;
border: 3px solid rgb(28, 29, 36);
border-radius: 5px;
}
input[type="number"]{
background-color: var(--white);
-moz-appearance: textfield;
text-align: center;
font-size: 30px;
border: none;
width: 80px;
pointer-events: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
button{
width: 30px;
color: #3264fe;
background-color: var(--white);
border: none;
font-size: 38px;
cursor: pointer;
}
.botao{
background-color: var(--black);
border: none;
outline: none;
color: whitesmoke;
font-size: 16px;
padding: 15px 0;
width: 150px;
border-radius: 5px;
}
.botao:hover{
cursor: pointer;
background-color: #08080c;
transition: ease 0.3s;
}
*/
.spin {
-webkit-animation: spin 0.3s linear;
-moz-animation: spin 0.3s linear;
animation: spin 0.3s linear;
animation-duration: 0.3s;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(120deg);
}
}
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(120deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(120deg);
}
}
@media only screen and (max-width: 460px) {
h1 {
font-size: 26px;
}
p {
font-size: 20px;
}
}