Optimização dos sites e atualização do calendario
This commit is contained in:
158
calendario.css
Normal file
158
calendario.css
Normal file
@@ -0,0 +1,158 @@
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
|
||||
#header {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#title {
|
||||
padding-left: 20px;
|
||||
font-size: 38px;
|
||||
margin: 0;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#barraesquerda {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 320px;
|
||||
height: 100vh;
|
||||
background-color: #C0392B;
|
||||
padding: 16px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
#calendario {
|
||||
flex: 1;
|
||||
padding-top: 60px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.calendariotop {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
#mes {
|
||||
color: white;
|
||||
font-size: 22px;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.mes {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.calendarseta {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.prox, .ant {
|
||||
appearance: none;
|
||||
border: none;
|
||||
background: none;
|
||||
color: white;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
|
||||
.prox:hover, .ant:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.calendariodia {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.calendariodia th,
|
||||
.calendariodia td {
|
||||
color: rgb(255, 255, 255);
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
font-size: 12px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
|
||||
.calendariodia th {
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.calendariodia td {
|
||||
border-radius: 50%;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.calendariodia td::after {
|
||||
content: "";
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
bottom: -4px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* COR DOS DIAS DE OUTRO MÊS (CORRIGIDO) */
|
||||
.calendariodia td.outromes {
|
||||
color: rgba(150, 150, 255, 1);
|
||||
}
|
||||
|
||||
.calendariodia td.today {
|
||||
background: rgba(178, 255, 103, 0.95);
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.calendariodia td.today::after {
|
||||
background: rgba(26, 26, 26, 0.4);
|
||||
}
|
||||
|
||||
.calendariodia td.empty::after {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user