Σαν σήμερα

<!-- -->

html, body {
display: flex;
flex-direction: column;
height: 100%
}

/* Variables */
body {
/* Header/general colors */
--grayish: #b5bac1;
--svg-chevron-color: #6b7280;
--letters-color: #374151;

/* Calendar colors */
--disabled-squares-color: #f3f4f6;
--disabled-squares-background: #6b7280;
--today-normal-background: #4f46e5;
--today-disabled-background: #a5b4fc;

--event-normal-color: #111827;
--event-disabled-color: var(--svg-chevron-color);
--event-hover-normal-color: var(--today-normal-background);
--event-hover-disabled-color: var(--today-disabled-background);

--box-shadow: rgb(0 0 0 / 10%) 0px 5px 15px;
--modal-header-color: var(--event-normal-color);
--modal-ok-button-background: #10b981;
--modal-ok-button-hover-background: #047857;
--modal-ok-button-focus-background: #34d399;

/* Footer colors */
--footer-letters-color: #4b5563;
--footer-link-color: #1f2937;

color: var(--letters-color);
font-family: 'Segoe UI';
margin: 0px;
}

*, ::after, ::before {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}

ol, ul {
list-style: none;
margin: 0;
padding: 0;
}

a {
color: inherit;
text-decoration: inherit;
}

h1, h2, p, button {
margin: 0;
}

button {
background-color: transparent;
background-image: none;
padding: 0;
line-height: inherit;
color: inherit;
cursor: pointer;
font-family: inherit;
font-size: 100%;
line-height: 1.15;
}

svg {
display: block;
vertical-align: middle;
height: 1.5rem;
width: 1.5rem;
}

/*

and children */
header {
display: flex;
align-items: center;
justify-content: space-between;

padding: 1rem 1.5rem;
}

header > h1 {
font-size: 1.125rem;
font-weight: 600;
}

#prev-next-container {
display: flex;
align-items: center;
border-radius: 2rem;
box-shadow: var(--box-shadow);
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}

.button {
display: flex;
align-items: center;
justify-content: center;

border-radius: 9999px;
width: 2rem;
height: 2rem;
margin-left: 0.25rem;
margin-right: 0.25rem;

transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}

.button:hover {
background-color: rgba(107, 114, 128, 0.2);
}

.button:disabled {
cursor: not-allowed;
background-color: white;
opacity: 25%;
}

.button[title] > svg {
color: var(--svg-chevron-color);
}

.divider {
border-right-width: 2px;
height: 1.5rem;
}

/*

and children */
main {
display: flex;
flex: 1 1 auto;
flex-direction: column;
}

#days-container {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;

text-align: center;
font-weight: 600;
background-color: var(--grayish); /* essentially the border color */
}

#days-container > div {
background-color: white;
padding: .5rem;

border-top-width: 1px;
border-bottom-width: 2px;
border-color: var(--grayish);
}

@media (max-width: 768px) {
#days-container > div > span {
display: none;
}
}

#calendar-flex {
display: flex;
flex: 1 1 auto;
background-color: var(--grayish);
}

.six-rows {
grid-template-rows: repeat(6, minmax(0, 1fr));
}

.five-rows {
grid-template-rows: repeat(5, minmax(0, 1fr));
}

#squares-wrapper {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;
width: 100%
}

/* The calendar itself */
.square {
padding: .75rem 1rem;
}

.square.grayed-out {
background-color: var(--disabled-squares-color);
color: var(--disabled-squares-background);
}

.square.normal {
background-color: white;
}

.square > time.today {
display: flex;
justify-content: center;

width: 1.5rem;
padding-bottom: 2px;
border-radius: 9999px;

font-weight: 600;
color: white;
}

.square.normal > time.today {
background-color: var(--today-normal-background);
}

.square.grayed-out > time.today {
background-color: var(--today-disabled-background);
}

ol.events {
margin-top: .5rem;
}

ol.events p {
/* truncate text */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

font-weight: 500;
font-size: .875rem;
}

.square.normal ol p {
color: var(--event-normal-color);
}

.square.grayed-out ol p {
color: var(--event-disabled-color);
}

.square.normal ol p:hover {
color: var(--event-hover-normal-color);
}

.square.grayed-out ol p:hover {
color: var(--event-hover-disabled-color);
}

/* Modal and children */
#modal {
display: grid;
place-items: center;

position: fixed;
z-index: 50;
inset: 0;
opacity: 0%
}

#modal > div {
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
background-color: white;

border-radius: 2rem;
padding: 1.5rem;
width: 100%;
max-width: 48rem;
}

#modal-header {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
color: var(--modal-header-color);
}

#modal-header > h2 {
font-weight: bolder;
font-size: 1.5rem;
line-height: 2rem;
}

#modal-header > h2 > span {
font-size: 1.2rem;
padding-left: 8px;
}

#modal-header > button {
padding: 0.25rem;
}

#modal-body {
margin-bottom: 1.5rem;
line-height: 1.7rem;
text-align: justify;
}

#modal-footer {
display: flex;
justify-content: flex-end;
}

#modal-footer > button {
color: white;
background-color: var(--modal-ok-button-background);

letter-spacing: 0.05rem;
font-size: .875rem;
line-height: 1.5;
font-weight: 700;

padding: 0.625rem 1.5rem;
border-radius: 2rem;

/* Transition */
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: .3s;
}

#modal-footer > button:hover {
background-color: var(--modal-ok-button-hover-background);
}

#modal-footer > button:focus {
background-color: var(--modal-ok-button-focus-background);
}

#overlay {
position: fixed;
z-index: 40;
inset: 0;html, body {
display: flex;
flex-direction: column;
height: 100%
}

/* Variables */
body {
/* Header/general colors */
--grayish: #b5bac1;
--svg-chevron-color: #6b7280;
--letters-color: #374151;

/* Calendar colors */
--disabled-squares-color: #f3f4f6;
--disabled-squares-background: #6b7280;
--today-normal-background: #4f46e5;
--today-disabled-background: #a5b4fc;

--event-normal-color: #111827;
--event-disabled-color: var(--svg-chevron-color);
--event-hover-normal-color: var(--today-normal-background);
--event-hover-disabled-color: var(--today-disabled-background);

--box-shadow: rgb(0 0 0 / 10%) 0px 5px 15px;
--modal-header-color: var(--event-normal-color);
--modal-ok-button-background: #10b981;
--modal-ok-button-hover-background: #047857;
--modal-ok-button-focus-background: #34d399;

/* Footer colors */
--footer-letters-color: #4b5563;
--footer-link-color: #1f2937;

color: var(--letters-color);
font-family: 'Segoe UI';
margin: 0px;
}

*, ::after, ::before {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}

ol, ul {
list-style: none;
margin: 0;
padding: 0;
}

a {
color: inherit;
text-decoration: inherit;
}

h1, h2, p, button {
margin: 0;
}

button {
background-color: transparent;
background-image: none;
padding: 0;
line-height: inherit;
color: inherit;
cursor: pointer;
font-family: inherit;
font-size: 100%;
line-height: 1.15;
}

svg {
display: block;
vertical-align: middle;
height: 1.5rem;
width: 1.5rem;
}

/*

and children */
header {
display: flex;
align-items: center;
justify-content: space-between;

padding: 1rem 1.5rem;
}

header > h1 {
font-size: 1.125rem;
font-weight: 600;
}

#prev-next-container {
display: flex;
align-items: center;
border-radius: 2rem;
box-shadow: var(--box-shadow);
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}

.button {
display: flex;
align-items: center;
justify-content: center;

border-radius: 9999px;
width: 2rem;
height: 2rem;
margin-left: 0.25rem;
margin-right: 0.25rem;

transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}

.button:hover {
background-color: rgba(107, 114, 128, 0.2);
}

.button:disabled {
cursor: not-allowed;
background-color: white;
opacity: 25%;
}

.button[title] > svg {
color: var(--svg-chevron-color);
}

.divider {
border-right-width: 2px;
height: 1.5rem;
}

/*

and children */
main {
display: flex;
flex: 1 1 auto;
flex-direction: column;
}

#days-container {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;

text-align: center;
font-weight: 600;
background-color: var(--grayish); /* essentially the border color */
}

#days-container > div {
background-color: white;
padding: .5rem;

border-top-width: 1px;
border-bottom-width: 2px;
border-color: var(--grayish);
}

@media (max-width: 768px) {
#days-container > div > span {
display: none;
}
}

#calendar-flex {
display: flex;
flex: 1 1 auto;
background-color: var(--grayish);
}

.six-rows {
grid-template-rows: repeat(6, minmax(0, 1fr));
}

.five-rows {
grid-template-rows: repeat(5, minmax(0, 1fr));
}

#squares-wrapper {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;
width: 100%
}

/* The calendar itself */
.square {
padding: .75rem 1rem;
}

.square.grayed-out {
background-color: var(--disabled-squares-color);
color: var(--disabled-squares-background);
}

.square.normal {
background-color: white;
}

.square > time.today {
display: flex;
justify-content: center;

width: 1.5rem;
padding-bottom: 2px;
border-radius: 9999px;

font-weight: 600;
color: white;
}

.square.normal > time.today {
background-color: var(--today-normal-background);
}

.square.grayed-out > time.today {
background-color: var(--today-disabled-background);
}

ol.events {
margin-top: .5rem;
}

ol.events p {
/* truncate text */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

font-weight: 500;
font-size: .875rem;
}

.square.normal ol p {
color: var(--event-normal-color);
}

.square.grayed-out ol p {
color: var(--event-disabled-color);
}

.square.normal ol p:hover {
color: var(--event-hover-normal-color);
}

.square.grayed-out ol p:hover {
color: var(--event-hover-disabled-color);
}

/* Modal and children */
#modal {
display: grid;
place-items: center;

position: fixed;
z-index: 50;
inset: 0;
opacity: 0%
}

#modal > div {
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
background-color: white;

border-radius: 2rem;
padding: 1.5rem;
width: 100%;
max-width: 48rem;
}

#modal-header {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
color: var(--modal-header-color);
}

#modal-header > h2 {
font-weight: bolder;
font-size: 1.5rem;
line-height: 2rem;
}

#modal-header > h2 > span {
font-size: 1.2rem;
padding-left: 8px;
}

#modal-header > button {
padding: 0.25rem;
}

#modal-body {
margin-bottom: 1.5rem;
line-height: 1.7rem;
text-align: justify;
}

#modal-footer {
display: flex;
justify-content: flex-end;
}

#modal-footer > button {
color: white;
background-color: var(--modal-ok-button-background);

letter-spacing: 0.05rem;
font-size: .875rem;
line-height: 1.5;
font-weight: 700;

padding: 0.625rem 1.5rem;
border-radius: 2rem;

/* Transition */
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: .3s;
}

#modal-footer > button:hover {
background-color: var(--modal-ok-button-hover-background);
}

#modal-footer > button:focus {
background-color: var(--modal-ok-button-focus-background);
}

#overlay {
position: fixed;
z-index: 40;
inset: 0;
background-color: black;
opacity: 0%;
}

#modal-container {
visibility: hidden;
}

#modal-container > div {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 500ms;
}

#modal-container.visible {
visibility: visible;
}

#modal-container.visible > #modal {
opacity: 100%
}

#modal-container.visible > #overlay {
opacity: 25%;
}

/*

and children */
footer {
border-top-width: 2px;
padding: 1.5rem 1rem;
}

footer > p {
text-align: center;
color: var(--footer-letters-color);
}

footer > p > a {
color: var(--footer-link-color);
}

background-color: black;
opacity: 0%;
}

#modal-container {
visibility: hidden;
}

#modal-container > div {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 500ms;
}

#modal-container.visible {
visibility: visible;
}

#modal-container.visible > #modal {
opacity: 100%
}

#modal-container.visible > #overlay {
opacity: 25%;
}

/*

and children */
footer {
border-top-width: 2px;
padding: 1.5rem 1rem;
}

footer > p {
text-align: center;
color: var(--footer-letters-color);
}

footer > p > a {
color: var(--footer-link-color);
}

 

Κυρ
Δευ
Τρι
Τετ
Πεμ
Παρ
Σαβ

 

 

<!DOCTYPE html>
<html lang="el">
<head>
<title>Σαν σήμερα</title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<!-- <link rel="stylesheet" href="./tailwind_2.min.css"> -->
<style>
html, body {
display: flex;
flex-direction: column;
height: 100%
}

/* Variables */
body {
/* Header/general colors */
--grayish: #b5bac1;
--svg-chevron-color: #6b7280;
--letters-color: #374151;

/* Calendar colors */
--disabled-squares-color: #f3f4f6;
--disabled-squares-background: #6b7280;
--today-normal-background: #4f46e5;
--today-disabled-background: #a5b4fc;

--event-normal-color: #111827;
--event-disabled-color: var(--svg-chevron-color);
--event-hover-normal-color: var(--today-normal-background);
--event-hover-disabled-color: var(--today-disabled-background);

--box-shadow: rgb(0 0 0 / 10%) 0px 5px 15px;
--modal-header-color: var(--event-normal-color);
--modal-ok-button-background: #10b981;
--modal-ok-button-hover-background: #047857;
--modal-ok-button-focus-background: #34d399;

/* Footer colors */
--footer-letters-color: #4b5563;
--footer-link-color: #1f2937;

color: var(--letters-color);
font-family: 'Segoe UI';
margin: 0px;
}

*, ::after, ::before {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}

ol, ul {
list-style: none;
margin: 0;
padding: 0;
}

a {
color: inherit;
text-decoration: inherit;
}

h1, h2, p, button {
margin: 0;
}

button {
background-color: transparent;
background-image: none;
padding: 0;
line-height: inherit;
color: inherit;
cursor: pointer;
font-family: inherit;
font-size: 100%;
line-height: 1.15;
}

svg {
display: block;
vertical-align: middle;
height: 1.5rem;
width: 1.5rem;
}

/* <header> and children */
header {
display: flex;
align-items: center;
justify-content: space-between;

padding: 1rem 1.5rem;
}

header > h1 {
font-size: 1.125rem;
font-weight: 600;
}

#prev-next-container {
display: flex;
align-items: center;
border-radius: 2rem;
box-shadow: var(--box-shadow);
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}

.button {
display: flex;
align-items: center;
justify-content: center;

border-radius: 9999px;
width: 2rem;
height: 2rem;
margin-left: 0.25rem;
margin-right: 0.25rem;

transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}

.button:hover {
background-color: rgba(107, 114, 128, 0.2);
}

.button:disabled {
cursor: not-allowed;
background-color: white;
opacity: 25%;
}

.button[title] > svg {
color: var(--svg-chevron-color);
}

.divider {
border-right-width: 2px;
height: 1.5rem;
}

/* <main> and children */
main {
display: flex;
flex: 1 1 auto;
flex-direction: column;
}

#days-container {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;

text-align: center;
font-weight: 600;
background-color: var(--grayish); /* essentially the border color */
}

#days-container > div {
background-color: white;
padding: .5rem;

border-top-width: 1px;
border-bottom-width: 2px;
border-color: var(--grayish);
}

@media (max-width: 768px) {
#days-container > div > span {
display: none;
}
}

#calendar-flex {
display: flex;
flex: 1 1 auto;
background-color: var(--grayish);
}

.six-rows {
grid-template-rows: repeat(6, minmax(0, 1fr));
}

.five-rows {
grid-template-rows: repeat(5, minmax(0, 1fr));
}

#squares-wrapper {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;
width: 100%
}

/* The calendar itself */
.square {
padding: .75rem 1rem;
}

.square.grayed-out {
background-color: var(--disabled-squares-color);
color: var(--disabled-squares-background);
}

.square.normal {
background-color: white;
}

.square > time.today {
display: flex;
justify-content: center;

width: 1.5rem;
padding-bottom: 2px;
border-radius: 9999px;

font-weight: 600;
color: white;
}

.square.normal > time.today {
background-color: var(--today-normal-background);
}

.square.grayed-out > time.today {
background-color: var(--today-disabled-background);
}

ol.events {
margin-top: .5rem;
}

ol.events p {
/* truncate text */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

font-weight: 500;
font-size: .875rem;
}

.square.normal ol p {
color: var(--event-normal-color);
}

.square.grayed-out ol p {
color: var(--event-disabled-color);
}

.square.normal ol p:hover {
color: var(--event-hover-normal-color);
}

.square.grayed-out ol p:hover {
color: var(--event-hover-disabled-color);
}

/* Modal and children */
#modal {
display: grid;
place-items: center;

position: fixed;
z-index: 50;
inset: 0;
opacity: 0%
}

#modal > div {
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
background-color: white;

border-radius: 2rem;
padding: 1.5rem;
width: 100%;
max-width: 48rem;
}

#modal-header {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
color: var(--modal-header-color);
}

#modal-header > h2 {
font-weight: bolder;
font-size: 1.5rem;
line-height: 2rem;
}

#modal-header > h2 > span {
font-size: 1.2rem;
padding-left: 8px;
}

#modal-header > button {
padding: 0.25rem;
}

#modal-body {
margin-bottom: 1.5rem;
line-height: 1.7rem;
text-align: justify;
}

#modal-footer {
display: flex;
justify-content: flex-end;
}

#modal-footer > button {
color: white;
background-color: var(--modal-ok-button-background);

letter-spacing: 0.05rem;
font-size: .875rem;
line-height: 1.5;
font-weight: 700;

padding: 0.625rem 1.5rem;
border-radius: 2rem;

/* Transition */
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: .3s;
}

#modal-footer > button:hover {
background-color: var(--modal-ok-button-hover-background);
}

#modal-footer > button:focus {
background-color: var(--modal-ok-button-focus-background);
}

#overlay {
position: fixed;
z-index: 40;
inset: 0;html, body {
display: flex;
flex-direction: column;
height: 100%
}

/* Variables */
body {
/* Header/general colors */
--grayish: #b5bac1;
--svg-chevron-color: #6b7280;
--letters-color: #374151;

/* Calendar colors */
--disabled-squares-color: #f3f4f6;
--disabled-squares-background: #6b7280;
--today-normal-background: #4f46e5;
--today-disabled-background: #a5b4fc;

--event-normal-color: #111827;
--event-disabled-color: var(--svg-chevron-color);
--event-hover-normal-color: var(--today-normal-background);
--event-hover-disabled-color: var(--today-disabled-background);

--box-shadow: rgb(0 0 0 / 10%) 0px 5px 15px;
--modal-header-color: var(--event-normal-color);
--modal-ok-button-background: #10b981;
--modal-ok-button-hover-background: #047857;
--modal-ok-button-focus-background: #34d399;

/* Footer colors */
--footer-letters-color: #4b5563;
--footer-link-color: #1f2937;

color: var(--letters-color);
font-family: 'Segoe UI';
margin: 0px;
}

*, ::after, ::before {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}

ol, ul {
list-style: none;
margin: 0;
padding: 0;
}

a {
color: inherit;
text-decoration: inherit;
}

h1, h2, p, button {
margin: 0;
}

button {
background-color: transparent;
background-image: none;
padding: 0;
line-height: inherit;
color: inherit;
cursor: pointer;
font-family: inherit;
font-size: 100%;
line-height: 1.15;
}

svg {
display: block;
vertical-align: middle;
height: 1.5rem;
width: 1.5rem;
}

/* <header> and children */
header {
display: flex;
align-items: center;
justify-content: space-between;

padding: 1rem 1.5rem;
}

header > h1 {
font-size: 1.125rem;
font-weight: 600;
}

#prev-next-container {
display: flex;
align-items: center;
border-radius: 2rem;
box-shadow: var(--box-shadow);
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}

.button {
display: flex;
align-items: center;
justify-content: center;

border-radius: 9999px;
width: 2rem;
height: 2rem;
margin-left: 0.25rem;
margin-right: 0.25rem;

transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}

.button:hover {
background-color: rgba(107, 114, 128, 0.2);
}

.button:disabled {
cursor: not-allowed;
background-color: white;
opacity: 25%;
}

.button[title] > svg {
color: var(--svg-chevron-color);
}

.divider {
border-right-width: 2px;
height: 1.5rem;
}

/* <main> and children */
main {
display: flex;
flex: 1 1 auto;
flex-direction: column;
}

#days-container {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;

text-align: center;
font-weight: 600;
background-color: var(--grayish); /* essentially the border color */
}

#days-container > div {
background-color: white;
padding: .5rem;

border-top-width: 1px;
border-bottom-width: 2px;
border-color: var(--grayish);
}

@media (max-width: 768px) {
#days-container > div > span {
display: none;
}
}

#calendar-flex {
display: flex;
flex: 1 1 auto;
background-color: var(--grayish);
}

.six-rows {
grid-template-rows: repeat(6, minmax(0, 1fr));
}

.five-rows {
grid-template-rows: repeat(5, minmax(0, 1fr));
}

#squares-wrapper {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1px;
width: 100%
}

/* The calendar itself */
.square {
padding: .75rem 1rem;
}

.square.grayed-out {
background-color: var(--disabled-squares-color);
color: var(--disabled-squares-background);
}

.square.normal {
background-color: white;
}

.square > time.today {
display: flex;
justify-content: center;

width: 1.5rem;
padding-bottom: 2px;
border-radius: 9999px;

font-weight: 600;
color: white;
}

.square.normal > time.today {
background-color: var(--today-normal-background);
}

.square.grayed-out > time.today {
background-color: var(--today-disabled-background);
}

ol.events {
margin-top: .5rem;
}

ol.events p {
/* truncate text */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

font-weight: 500;
font-size: .875rem;
}

.square.normal ol p {
color: var(--event-normal-color);
}

.square.grayed-out ol p {
color: var(--event-disabled-color);
}

.square.normal ol p:hover {
color: var(--event-hover-normal-color);
}

.square.grayed-out ol p:hover {
color: var(--event-hover-disabled-color);
}

/* Modal and children */
#modal {
display: grid;
place-items: center;

position: fixed;
z-index: 50;
inset: 0;
opacity: 0%
}

#modal > div {
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
background-color: white;

border-radius: 2rem;
padding: 1.5rem;
width: 100%;
max-width: 48rem;
}

#modal-header {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
color: var(--modal-header-color);
}

#modal-header > h2 {
font-weight: bolder;
font-size: 1.5rem;
line-height: 2rem;
}

#modal-header > h2 > span {
font-size: 1.2rem;
padding-left: 8px;
}

#modal-header > button {
padding: 0.25rem;
}

#modal-body {
margin-bottom: 1.5rem;
line-height: 1.7rem;
text-align: justify;
}

#modal-footer {
display: flex;
justify-content: flex-end;
}

#modal-footer > button {
color: white;
background-color: var(--modal-ok-button-background);

letter-spacing: 0.05rem;
font-size: .875rem;
line-height: 1.5;
font-weight: 700;

padding: 0.625rem 1.5rem;
border-radius: 2rem;

/* Transition */
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: .3s;
}

#modal-footer > button:hover {
background-color: var(--modal-ok-button-hover-background);
}

#modal-footer > button:focus {
background-color: var(--modal-ok-button-focus-background);
}

#overlay {
position: fixed;
z-index: 40;
inset: 0;
background-color: black;
opacity: 0%;
}

#modal-container {
visibility: hidden;
}

#modal-container > div {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 500ms;
}

#modal-container.visible {
visibility: visible;
}

#modal-container.visible > #modal {
opacity: 100%
}

#modal-container.visible > #overlay {
opacity: 25%;
}

/* <footer> and children */
footer {
border-top-width: 2px;
padding: 1.5rem 1rem;
}

footer > p {
text-align: center;
color: var(--footer-letters-color);
}

footer > p > a {
color: var(--footer-link-color);
}

background-color: black;
opacity: 0%;
}

#modal-container {
visibility: hidden;
}

#modal-container > div {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 500ms;
}

#modal-container.visible {
visibility: visible;
}

#modal-container.visible > #modal {
opacity: 100%
}

#modal-container.visible > #overlay {
opacity: 25%;
}

/* <footer> and children */
footer {
border-top-width: 2px;
padding: 1.5rem 1rem;
}

footer > p {
text-align: center;
color: var(--footer-letters-color);
}

footer > p > a {
color: var(--footer-link-color);
}

</style>
<script src="./events.json"></script>
<script src="./index.js"></script>
<script src="./ripple.js"></script>
</head>
<body>
<header>
<h1>
<time id="current-month"></time>
</h1>
<div id="prev-next-container">
<button id="month-back" class="button" title="Προηγούμενος μήνας" data-ripple-dark="true">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
</svg>
</button>
<div class="divider"></div>
<button id="month-forward" class="button" title="Επόμενος μήνας" data-ripple-dark="true">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</button>
</div>
</header>
<main>
<div id="days-container">
<div>Κ<span>υρ</span></div>
<div>Δ<span>ευ</span></div>
<div>Τ<span>ρι</span></div>
<div>Τ<span>ετ</span></div>
<div>Π<span>εμ</span></div>
<div>Π<span>αρ</span></div>
<div>Σ<span>αβ</span></div>
</div>
<div id="calendar-flex">
<div id="squares-wrapper"></div>
</div>
</main>

<footer>
<p>
&copy; 2022 <a href="https://gym-zosim.ioa.sch.gr">Πρότυπο Γυμνάσιο Ζωσιμαίας Σχολής</a>. Με επιφύλαξη παντός δικαιώματος.
</p>
</footer>

<div id="modal-container">
<div id="modal">
<div>
<div id="modal-header">
<h2>Stephen Hawking</h2>
<button class="button" data-ripple-dark="true">
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
</div>

<div id="modal-body">
<p></p>
</div>

<div id="modal-footer">
<button data-ripple-dark="true">OK</button>
</div>
</div>
</div>
<div id="overlay"></div>
</div>
</body>
</html>