Public-Auth-Seiten in Landingpage-Stil integrieren
- gemeinsames Public-CSS fuer Landingpage und Auth-Seiten ergaenzen - Login, Registrierung und Passwort-/E-Mail-Seiten vom App-Layout trennen - App-Sidebar von Public-Login- und Registrierungslinks bereinigen - Webspace- und Subdomain-Strategie dokumentieren
This commit is contained in:
@@ -0,0 +1,175 @@
|
||||
body.public-page {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.public-shell {
|
||||
min-height: 100vh;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.public-hero {
|
||||
min-height: 82vh;
|
||||
background-image: url("../images/landing-hero.png");
|
||||
background-size: cover;
|
||||
background-position: center right;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4rem 6vw;
|
||||
}
|
||||
|
||||
.public-hero:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(255, 255, 255, 0.68);
|
||||
}
|
||||
|
||||
.public-nav {
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
left: 6vw;
|
||||
right: 6vw;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.public-nav strong {
|
||||
color: #3d4449;
|
||||
font-family: "Roboto Slab", serif;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.public-nav strong a {
|
||||
border-bottom: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.public-nav .actions {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.public-hero-content {
|
||||
position: relative;
|
||||
max-width: 42rem;
|
||||
}
|
||||
|
||||
.public-hero h1 {
|
||||
margin-bottom: 0.35em;
|
||||
}
|
||||
|
||||
.public-hero p {
|
||||
color: #3d4449;
|
||||
font-size: 1.15em;
|
||||
max-width: 34rem;
|
||||
}
|
||||
|
||||
.public-section {
|
||||
padding: 4rem 6vw;
|
||||
}
|
||||
|
||||
.public-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1.25rem;
|
||||
max-width: 72rem;
|
||||
}
|
||||
|
||||
.public-feature,
|
||||
.public-panel {
|
||||
border: solid 1px rgba(210, 215, 217, 0.75);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.public-feature h3 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.public-feature p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.public-auth {
|
||||
min-height: 100vh;
|
||||
background-image: url("../images/landing-hero.png");
|
||||
background-size: cover;
|
||||
background-position: center right;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 6rem 6vw 4rem 6vw;
|
||||
}
|
||||
|
||||
.public-auth:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
}
|
||||
|
||||
.public-auth-grid {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(18rem, 0.85fr) minmax(22rem, 1.15fr);
|
||||
gap: 2rem;
|
||||
align-items: start;
|
||||
width: min(72rem, 100%);
|
||||
}
|
||||
|
||||
.public-auth-copy {
|
||||
padding-top: 1.25rem;
|
||||
}
|
||||
|
||||
.public-auth-copy p {
|
||||
color: #3d4449;
|
||||
font-size: 1.05em;
|
||||
max-width: 30rem;
|
||||
}
|
||||
|
||||
.public-panel {
|
||||
box-shadow: 0 0.75rem 2.25rem rgba(61, 68, 73, 0.08);
|
||||
}
|
||||
|
||||
.public-panel h2 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.public-panel form {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.public-panel .actions {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 980px) {
|
||||
.public-hero {
|
||||
min-height: 78vh;
|
||||
padding: 5.5rem 2rem 3rem 2rem;
|
||||
background-position: center right 30%;
|
||||
}
|
||||
|
||||
.public-auth {
|
||||
padding: 5.5rem 2rem 3rem 2rem;
|
||||
background-position: center right 30%;
|
||||
}
|
||||
|
||||
.public-nav {
|
||||
left: 2rem;
|
||||
right: 2rem;
|
||||
}
|
||||
|
||||
.public-grid,
|
||||
.public-auth-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.public-section {
|
||||
padding: 3rem 2rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user