PHP Classes

File: css/styles.css

Recommend this page to a friend!
  Classes of Rodrigo Faustino   Tamagoshi PHP Cryptocurrency Miner Virtual Pet   css/styles.css   Download  
File: css/styles.css
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Tamagoshi PHP Cryptocurrency Miner Virtual Pet
Game to manage a cryptocurrency miner pet
Author: By
Last change:
Date: 8 months ago
Size: 4,942 bytes
 

Contents

Class file image Download
* { box-sizing: border-box; } body { background-color: #000000; font-family: 'Orbitron', sans-serif; color: white; display: flex; flex-direction: column; background-image: url('../img/fundo.jpg'); backdrop-filter: blur(5px); position: relative; height: 100%; width: 100%; background-size: cover; } h1 { margin: 20px 0; } p { width: 250px; background-color: rgba(0, 0, 0, 0.5); border: 2px solid #4afff9; box-shadow: 0 0 5px #3cd6f5, 0 0 15px #2fe2fd, 0 0 20px #66c2ff; padding: 10px; border-radius: 4px; font-size: 18px; margin: 8px 52px; } .container { display: flex; flex-direction: row; justify-content: space-around; width: 100%; } .info { width: 80%; } .pessoa-avatar { background-color: #000000; width: 170px; height: 170px; display: inline-flex; align-items: center; margin-bottom: 20px; box-shadow: 0 0 5px #3cd6f5, 0 0 15px #2fe2fd, 0 0 20px #66c2ff; } .pessoa-avatar img { width: 170px; height: 170px; } button { background-color: #0b3d91; border: 2px solid #ff0000; color: white; font-size: 16px; border-radius: 4px; cursor: pointer; margin: 10px 10px; box-shadow: 0 0 5px #3cd6f5, 0 0 15px #2fe2fd, 0 0 20px #66c2ff; border-radius: 34px; width: 120px; height: 34px; } button:hover { background-color: #1c6ab1; } button[disabled] { opacity: 0.5; cursor: not-allowed; border: 2px solid #aae506; } .button:active { background-color: #3e8e41; box-shadow: 0 5px #666; transform: translateY(4px); } .switch { position: relative; display: inline-block; width: 60px; height: 34px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: -8px; left: 0; right: 0; bottom: 5px; background-color: #0b3d91; border: 2px solid #ff0000; box-shadow: 0 0 5px #3cd6f5, 0 0 15px #2fe2fd, 0 0 20px #66c2ff; transition: 0.4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 29px; width: 29px; left: 0px; margin-right: 20px; bottom: 1px; background-image: url('./sun.png'); background-size: cover; -webkit-transition: .4s; transition: .4s; } input:checked + .slider:before { background-image: url('./mon.png'); } input:focus + .slider { box-shadow: 0 0 1px #000000; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); } /* Estilo neon para o label */ label { color: white; font-family: "Arial", sans-serif; font-size: 16px; text-shadow: 0 0 5px #ff0000, 0 0 10px #61efff, 0 0 20px #69ffc8, 0 0 30px #51e2ff, 0 0 40px #80ffdd; } .progress-bar { width: 200px; background-color: rgba(0, 0, 0, 0.5); border: 2px solid #ff0000; box-shadow: 0 0 5px #3cd6f5, 0 0 15px #2fe2fd, 0 0 20px #66c2ff; padding: 0px; border-radius: 4px; font-size: 18px; margin: 8px 52px; position: relative; } .progress-bar span { position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .progress { background-color: #ff0000a3; } .column { float: left; width: 45%; padding: 0 10px; } /* Remove extra left and right margins, due to padding */ .row {margin: 0 -5px;} /* Clear floats after the columns */ .row:after { content: ""; display: flex; clear: both; text-align: center; } /* Responsive columns */ @media screen and (max-width: 600px) { .column { width: 100%; display: block; margin-bottom: 20px; } } /* Style the counter cards */ .cardb { box-shadow: 0 4px 8px 0 rgba(219, 14, 14, 0.729); padding: 16px; text-align: center; align-items: center; background-color: #f1f1f100; } .card { box-shadow: 0 4px 8px 0 rgba(219, 14, 14, 0.729); padding: 16px; text-align: center; align-items: center; background-color: #f1f1f100; display: flex; } .circular-progress { width: 100px; height: 100px; } .circular-chart { display: flex; width: 100%; height: 100%; } .circle-bg { fill: none; stroke: #eee; stroke-width: 2; } .circle { fill: none; stroke: #64ff6e; stroke-width: 2; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dasharray 0.3s ease; } .percentage { fill: #fff3f3; font-family: sans-serif; font-size: 0.5em; text-anchor: middle; } .label { fill: #3fd3f8; font-family: sans-serif; font-size: 0.4em; text-anchor: middle; } .splash-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); box-shadow: 0 0 5px #57baf7, 0 0 15px #57c4ff, 0 0 20px #4af6ff; display: flex; justify-content: center; align-items: center; z-index: 999; } .message-box { background-color: #881414; padding: 20px; border-radius: 10px; text-align: center; }