Takina / style.css
Fanfnix
Initial commit
924c332
Raw
History Blame Contribute Delete
6.15 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-align: center;
font-family: "Work Sans", sans-serif;
font-style: normal;
}
body {
line-height: 1.6;
color: #333;
background: white;
min-height: 100vh;
}
.hero {
color: white;
padding: 4rem 2rem;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.app-icon {
max-width: 20%;
max-height: 20%;
border-radius: 50%;
object-fit: cover;
}
.hero h1 {
font-size: 4rem;
font-weight: 700;
margin-bottom: 1rem;
color: #31383c;
background-clip: text;
-webkit-background-clip: text;
}
.tagline {
font-size: 1.50rem;
opacity: 0.9;
max-width: 600px;
margin: 0 auto;
color: #282b35;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
position: relative;
z-index: 2;
}
.main-card {
background: white;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
margin-top: -2rem;
overflow: hidden;
margin-bottom: 3rem;
text-align: center;
position: relative;
}
.app-preview {
background: linear-gradient( #cadbf6, #3b82f6);
padding: 3rem;
color: rgb(0, 0, 0);
text-align: center;
position: relative;
}
.preview-image {
background: #000;
border-radius: 15px;
padding: 2rem;
max-width: 500px;
margin: 0 auto;
max-width: 30%;
}
.camera-feed {
font-size: 4rem;
margin-bottom: 1rem;
opacity: 0.7;
}
.app-details {
background: linear-gradient( #3b82f6, #1e3a8a);
padding: 3rem;
text-align: center;
position: relative;
}
.app-details h2 {
font-size: 2rem;
color: #1e293b;
margin-bottom: 2rem;
text-align: center;
}
.download-card {
background: white;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
padding: 3rem;
text-align: center;
}
.download-card h2 {
font-size: 2rem;
color: #1e293b;
margin-bottom: 1rem;
}
.download-card>p {
color: #64748b;
font-size: 2rem;
margin-bottom: 2rem;
}
.dashboard-config {
margin-bottom: 2rem;
text-align: left;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.dashboard-config label {
display: block;
color: #374151;
font-weight: 600;
margin-bottom: 0.5rem;
}
.dashboard-config input {
width: 100%;
padding: 0.75rem 1rem;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 0.95rem;
transition: border-color 0.2s;
}
.dashboard-config input:focus {
outline: none;
border-color: #667eea;
}
.install-btn {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border: none;
padding: 1.25rem 3rem;
border-radius: 16px;
font-size: 1.2rem;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 2rem;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.install-btn:hover:not(:disabled) {
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}
.install-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.manual-option {
background: #e1ecfa;
border-radius: 12px;
padding: 2rem;
margin-top: 2rem;
}
.manual-option h3 {
color: #1e293b;
margin-bottom: 1rem;
font-size: 1.2rem;
}
.manual-option>p {
color: #64748b;
margin-bottom: 1rem;
}
.btn-icon {
font-size: 1.1rem;
}
.install-status {
padding: 1rem;
border-radius: 8px;
font-size: 0.9rem;
text-align: center;
display: none;
margin-top: 1rem;
}
.install-status.success {
background: #dcfce7;
color: #166534;
border: 1px solid #bbf7d0;
}
.install-status.error {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fecaca;
}
.install-status.loading {
background: #dbeafe;
color: #1d4ed8;
border: 1px solid #bfdbfe;
}
.install-status.info {
background: #e0f2fe;
color: #0369a1;
border: 1px solid #7dd3fc;
}
.manual-install {
background: #1f2937;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 1rem;
}
.manual-install code {
color: #10b981;
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
font-size: 0.85rem;
flex: 1;
overflow-x: auto;
}
.copy-btn {
background: #374151;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 6px;
font-size: 0.8rem;
cursor: pointer;
transition: background-color 0.2s;
}
.copy-btn:hover {
background: #4b5563;
}
.manual-steps {
color: #6b7280;
font-size: 0.9rem;
line-height: 1.8;
}
.footer {
text-align: center;
padding: 2rem;
color: white;
opacity: 0.8;
}
.icon {
width: 20px;
height: 20px;
vertical-align: middle;
margin-right: 0.5rem;
border-radius: 50%;
object-fit: cover;
}
.footer a {
color: rgb(71, 72, 89);
text-decoration: none;
font-weight: 600;
}
.footer a:hover {
text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
.hero {
padding: 2rem 1rem;
}
.hero h1 {
font-size: 2rem;
}
.container {
padding: 0 1rem;
}
.app-details,
.download-card {
padding: 2rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.download-options {
grid-template-columns: 1fr;
}
}
.preview-demo {
width: 100%;
border-radius: 15px;
opacity: 0.95;
display: block;
transition: 0.3s;
}
.emotion-title {
text-align: center;
color: #1e293b;
margin-bottom: 1rem;
}
.emotion-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.emotion-box {
background: #f1f5f9;
padding: 1rem;
border-radius: 10px;
text-align: center;
font-size: 1rem;
font-weight: 600;
color: #0f172a;
border: 2px solid #e2e8f0;
cursor: pointer;
transition: 0.2s;
user-select: none;
}
.emotion-box:hover {
transform: scale(1.05);
}
.emotion-box.active {
border: 2px solid #fff;
background: rgba(255,255,255,0.2);
}
.demo-video {
width: 100%;
border-radius: 12px;
margin-top: 1rem;
}