a15ca501b8
# Conflicts: # starter/ent/runtime.go # starter/go.mod # starter/go.sum # starter/routes/routing.go
515 lines
10 KiB
CSS
515 lines
10 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
color: #333333;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.header {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
padding: 20px 0;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 50,0 100,100" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
|
|
background-size: 60px 100%;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.header-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 2.5rem;
|
|
background: linear-gradient(45deg, #667eea, #764ba2);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
gap: 30px;
|
|
}
|
|
|
|
.nav a {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
transition: all 0.3s ease;
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.nav a:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.nav a.selected {
|
|
background: linear-gradient(45deg, #667eea, #764ba2);
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.language-switcher {
|
|
display: flex;
|
|
gap: 3px;
|
|
align-items: center;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.language-button {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
padding: 8px 14px;
|
|
border-radius: 6px;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
|
|
font-size: 0.85rem;
|
|
min-width: 36px;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.language-button.active {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
transform: scale(1.05);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.language-button.inactive:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.hero-section {
|
|
text-align: center;
|
|
padding: 60px 0;
|
|
background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
|
|
border-radius: 15px;
|
|
margin-bottom: 40px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3rem;
|
|
font-weight: bold;
|
|
color: #333333;
|
|
margin-bottom: 20px;
|
|
background: linear-gradient(45deg, #667eea, #764ba2);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 1.2rem;
|
|
color: #666666;
|
|
line-height: 1.6;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.content-section {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
padding: 40px;
|
|
border-radius: 10px;
|
|
margin-bottom: 30px;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.content-section:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
color: #333333;
|
|
margin-bottom: 15px;
|
|
background: linear-gradient(45deg, #667eea, #764ba2);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.section-description {
|
|
font-size: 1.1rem;
|
|
color: #555555;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.footer {
|
|
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
|
|
color: #ffffff;
|
|
padding: 40px 0 20px 0;
|
|
margin-top: 60px;
|
|
}
|
|
|
|
.footer-menu {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 30px;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer-link {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
padding: 8px 12px;
|
|
border-radius: 5px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.footer-link:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.footer-disclaimer {
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 0.9rem;
|
|
margin: 15px 0 10px 0;
|
|
font-style: italic;
|
|
max-width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.footer p:last-child {
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.85rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Mobile Responsive Styles */
|
|
@media (max-width: 768px) {
|
|
.header-content {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav {
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav a {
|
|
padding: 8px 12px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 1.1rem;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.content-section {
|
|
padding: 25px 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.section-description {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.container {
|
|
padding: 20px 15px;
|
|
}
|
|
|
|
.hero-section {
|
|
padding: 40px 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.footer-menu {
|
|
gap: 15px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-link {
|
|
font-size: 0.9rem;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.footer-disclaimer {
|
|
font-size: 0.8rem;
|
|
margin: 12px 0 8px 0;
|
|
}
|
|
}
|
|
|
|
/* Extra small screens */
|
|
@media (max-width: 480px) {
|
|
.hero-title {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.nav {
|
|
gap: 10px;
|
|
}
|
|
|
|
.nav a {
|
|
padding: 6px 10px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.language-switcher {
|
|
padding: 2px;
|
|
gap: 2px;
|
|
}
|
|
|
|
.language-button {
|
|
padding: 6px 10px;
|
|
font-size: 0.8rem;
|
|
min-width: 32px;
|
|
}
|
|
}
|
|
|
|
/* Global link styles */
|
|
a {
|
|
color: #667eea;
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.2em;
|
|
text-decoration-thickness: 2px;
|
|
text-decoration-color: rgba(102, 126, 234, 0.4);
|
|
transition: color 0.2s ease, text-decoration-color 0.2s ease;
|
|
}
|
|
|
|
a:hover {
|
|
color: #764ba2;
|
|
text-decoration-color: #764ba2;
|
|
}
|
|
|
|
a:focus-visible {
|
|
outline: 2px solid #667eea;
|
|
outline-offset: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
a:active {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Disabled state support */
|
|
a[aria-disabled="true"],
|
|
a.disabled {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
text-decoration-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Button styles */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
min-height: 48px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.btn:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #4285f4;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #357ae8;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Google Login Button */
|
|
.google-login-btn {
|
|
background-color: #4285f4;
|
|
color: white;
|
|
border: 1px solid #dadce0;
|
|
font-family: 'Roboto', Arial, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
padding: 12px 24px;
|
|
min-width: 200px;
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.google-login-btn::before {
|
|
content: '';
|
|
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjY0IDkuMjA0NTVDMTcuNjQgOC41NjY3NCAxNy41ODI3IDcuOTUzMDUgMTcuNDc2NCA3LjM2MzY0SDE5VjEwLjgxODJIMTMuNTg0NUwxMy42Mzg2IDExLjEzNjNMMTMuNzI3IDExLjU0NTVIMTRWMTJIMTBWMTEuNzE4MkgxM1YxMC44MTgySDlWMTEuMTM2M0gxMlY5LjgxODE4SDlWMTAuMTM2NEgxMi40NzI3TDEyLjUgOS42ODE4Mkw5LjUgOS4yMjczVjguNUgxMS41VjguMTgxODJIMTFWOEg5LjVWNy42MTgxOEgxMVY3SDkuNVY2LjM4MTgySDExVjYuNUg5VjZIOC41VjUuNUg5VjVINy41VjQuNUg5VjRINy41VjMuNUg5VjNIMTRWMi41SDlWMkgxNFYxLjVIOVYxSDEzSDBWMEgxOFYxOEgwVjBaIiBmaWxsPSIjRkZGRkZGIi8+Cjwvc3ZnPgo=');
|
|
background-size: 18px 18px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.google-login-btn:hover {
|
|
background-color: #357ae8;
|
|
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
|
|
transform: translateY(-1px);
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.google-login-btn:active {
|
|
background-color: #2b5ce6;
|
|
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3);
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.google-login-btn:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.4);
|
|
}
|
|
|
|
|
|
/* Login section specific styles */
|
|
.login-section {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
padding: 40px 30px;
|
|
}
|
|
|
|
.login-form {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: #333;
|
|
}
|
|
|
|
.error-message {
|
|
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
|
|
color: white;
|
|
padding: 12px 20px;
|
|
border-radius: 8px;
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
|
|
animation: slideIn 0.3s ease;
|
|
}
|
|
|
|
/* Mobile responsive adjustments for login button */
|
|
@media (max-width: 480px) {
|
|
.google-login-btn {
|
|
min-width: 160px;
|
|
font-size: 13px;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
.login-section {
|
|
padding: 30px 20px;
|
|
}
|
|
}
|
|
|