/* Variáveis globais / :root { --main-bg-color: #073642; --night-bg-color: #00252E;…
- User
/* Variáveis globais */ :root { --main-bg-color: #073642; --night-bg-color: #00252E; --light-back-color: #576675; --light-text-color: #268bd2; --night-text-color: #cb4b16; --tag-bg-color: #d5dadc; --light-tag-text-color: black; --night-tag-text-color: white; --border-radius: 2px; --padding-horizontal: 2em; }
/* Aplicando estilos globais */ html, body { margin: 0; padding: 0; height: 100vh; width: 100vw; }
- { box-sizing: border-box; }
body { font: 100 100% "Noto Sans", "Noto Sans KR", Helvetica, Arial; word-break: keep-all; text-align: left; overflow: hidden; background-color: var(--main-bg-color); }
/* Estilo da div principal (cartão) / .note { margin: 1.5em auto; / Adicionando uma margem superior de 2em */ padding: 0 1em; max-width: 50em; width: 100%; }
/* Estilos de front e back juntos, sem lacunas */ .front, .back { background-color: #29394a; color: #fdf6e3; border-radius: 20px; margin: 0; padding: 1em; width: 100%; box-shadow: 0 20px 20px rgba(0, 0, 0, 0.5); }
/* Ajuste de bordas para unir as partes */ .front { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.back { border-top-left-radius: 0; border-top-right-radius: 0; background-color: var(--light-back-color); color: var(--light-text-color); margin-top: -1px; /* Remover a lacuna entre front e back */ }
/* Outras configurações */ .night .back, .night .onesided { background-color: rgba(0, 37, 46, 0.18); color: var(--night-text-color); }
/* Estilo para a tag */ .tag { padding: 0 0.8em 0.2em 0.8em; display: inline-block; border-radius: 1.5em; margin: 0.5em 0.5em 0.5em 0; position: relative; bottom: 0.1em; background-color: var(--tag-bg-color); color: var(--light-tag-text-color); }
/* Estilos dos links */ a { color: inherit; text-decoration: none; }
/* Padding da linha */ .row { padding-top: 1em; }
/* Estilo das tags */ .tags { margin-bottom: -0.3em; }
- Assistant
This CSS stylesheet defines global styles and specific styles for a UI component that resembles a note or card. Here's a breakdown of the various parts:
Global Variables
- Color Scheme: You've set colors for various UI components using CSS variables, making it easy to switch themes or modify styles.
- User
write down to me the whole code already with your modifications
- Assistant