Add PHP vs Flask architecture analysis

This commit is contained in:
Pontoporeia
2026-03-31 22:50:32 +02:00
parent 780b1b2a13
commit 8976e52d10
4 changed files with 245 additions and 60 deletions

View File

@@ -16,66 +16,66 @@
display: flex;
flex-direction: column;
min-height: 100vh;
background: var(--admin-bg);
color: var(--admin-text);
/* background: var(--admin-bg); */
/* color: var(--admin-text); */
/* font-family inherited from common.css body */
}
/* Admin header / nav */
.admin-body header {
flex-shrink: 0;
}
/* .admin-body header { */
/* flex-shrink: 0; */
/* } */
.admin-body header nav {
background: linear-gradient(
to bottom,
var(--admin-purple) 0%,
rgba(149, 87, 181, 0.0) 100%
);
padding: 0.55rem 1.5rem;
display: flex;
align-items: center;
gap: 2.5rem;
}
/* .admin-body header nav { */
/* background: linear-gradient( */
/* to bottom, */
/* var(--admin-purple) 0%, */
/* rgba(149, 87, 181, 0.0) 100% */
/* ); */
/* padding: 0.55rem 1.5rem; */
/* display: flex; */
/* align-items: center; */
/* gap: 2.5rem; */
/* } */
.admin-body header nav > a {
font-size: 0.88rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-weight: 400;
}
/* .admin-body header nav > a { */
/* font-size: 0.88rem; */
/* letter-spacing: 0.12em; */
/* text-transform: uppercase; */
/* color: rgba(255, 255, 255, 0.8); */
/* text-decoration: none; */
/* font-weight: 400; */
/* } */
.admin-body header nav ul {
list-style: none;
margin: 0 0 0 auto;
padding: 0;
display: flex;
align-items: center;
gap: 2.5rem;
}
/* .admin-body header nav ul { */
/* list-style: none; */
/* margin: 0 0 0 auto; */
/* padding: 0; */
/* display: flex; */
/* align-items: center; */
/* gap: 2.5rem; */
/* } */
.admin-body header nav ul a {
font-size: 0.85rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
font-weight: 400;
transition: opacity 0.15s;
}
/* .admin-body header nav ul a { */
/* font-size: 0.85rem; */
/* letter-spacing: 0.1em; */
/* text-transform: uppercase; */
/* color: rgba(255, 255, 255, 0.9); */
/* text-decoration: none; */
/* font-weight: 400; */
/* transition: opacity 0.15s; */
/* } */
.admin-body header nav ul a:hover,
.admin-body header nav ul a[aria-current="page"] {
opacity: 1;
color: #fff;
}
/* .admin-body header nav ul a:hover, */
/* .admin-body header nav ul a[aria-current="page"] { */
/* opacity: 1; */
/* color: #fff; */
/* } */
.admin-body header nav ul a[aria-current="page"] {
border-bottom: 1px solid rgba(255, 255, 255, 0.6);
padding-bottom: 1px;
}
/* .admin-body header nav ul a[aria-current="page"] { */
/* border-bottom: 1px solid rgba(255, 255, 255, 0.6); */
/* padding-bottom: 1px; */
/* } */
/* Logout — visually subdued */
.admin-body header nav ul [data-nav-logout] a {

View File

@@ -53,14 +53,19 @@ a:hover {
============================================================ */
header {
flex-shrink: 0;
background: #3c856c;
background: linear-gradient(
180deg,
rgba(60, 133, 108, 1) 0%,
rgba(96, 236, 180, 1) 20%,
rgba(227, 144, 255, 1) 40%,
rgba(149, 87, 181, 1) 60%,
rgba(149, 87, 181, 1) 88%,
rgba(149, 87, 181, 0) 96%
);
}
header nav {
background: linear-gradient(
to bottom,
var(--purple) 0%,
rgba(149, 87, 181, 0.0) 100%
);
padding: 1rem 1.5rem;
display: flex;
align-items: center;
@@ -74,7 +79,7 @@ header nav > a {
text-transform: uppercase;
color: var(--white);
text-decoration: none;
font-weight: 400;
/* font-weight: 400; */
}
header nav ul {
@@ -92,7 +97,7 @@ header nav ul a {
text-transform: uppercase;
color: var(--white);
text-decoration: none;
font-weight: 400;
/* font-weight: 400; */
transition: opacity 0.15s;
}
@@ -113,10 +118,12 @@ header nav ul a[aria-current="page"] {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1.5rem;
border-bottom: 1px solid var(--border-color);
padding: 0.25rem 1.5rem;
border: 1px solid #9557b5;
border-radius: 8px;
background: var(--white);
flex-shrink: 0;
color: #9557b5;
}
.site-search__icon {
@@ -124,6 +131,7 @@ header nav ul a[aria-current="page"] {
flex-shrink: 0;
width: 16px;
height: 16px;
stroke: #9557b5;
}
.site-search__input {
@@ -137,7 +145,7 @@ header nav ul a[aria-current="page"] {
}
.site-search__input::placeholder {
color: #767676;
color: #9557b5;
}
/* ============================================================