Initial commit: EKAI Blog de Notícias IA
This commit is contained in:
304
styles.css
Normal file
304
styles.css
Normal file
@@ -0,0 +1,304 @@
|
||||
/* EK[AI] - Dark Neural */
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
:root {
|
||||
--primary: #00c8ff;
|
||||
--dark: #0a0a0f;
|
||||
--dark-card: #12121a;
|
||||
--text: #e0e0e0;
|
||||
--text-dim: #888;
|
||||
--border: rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: var(--dark);
|
||||
color: var(--text);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a { text-decoration: none; color: inherit; }
|
||||
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
|
||||
.accent { color: var(--primary); }
|
||||
|
||||
#neuralCanvas {
|
||||
position: fixed;
|
||||
top: 0; left: 0;
|
||||
width: 100%; height: 100%;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: rgba(10,10,15,0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid var(--border);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 20px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 10px 20px;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-glow {
|
||||
background: var(--primary);
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.btn-cta {
|
||||
background: var(--primary);
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 60px 0 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 3px solid var(--primary);
|
||||
box-shadow: 0 0 30px rgba(0,200,255,0.3);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 36px;
|
||||
font-weight: 800;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.hero-tagline {
|
||||
color: var(--text-dim);
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.newsletter-form {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
max-width: 400px;
|
||||
margin: 0 auto 15px;
|
||||
}
|
||||
|
||||
.newsletter-form input {
|
||||
flex: 1;
|
||||
padding: 12px 15px;
|
||||
background: var(--dark-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
color: var(--text);
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.newsletter-form input:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
.author-line {
|
||||
font-size: 14px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
/* Posts */
|
||||
.posts-section {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 22px;
|
||||
margin-bottom: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.post-card {
|
||||
background: var(--dark-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
margin-bottom: 20px;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.post-header {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.post-header img {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.post-tag {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
background: linear-gradient(135deg, var(--primary), #0080ff);
|
||||
color: var(--dark);
|
||||
padding: 5px 12px;
|
||||
border-radius: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.post-info {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.post-date {
|
||||
font-size: 13px;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.post-info h3 {
|
||||
font-size: 18px;
|
||||
margin: 8px 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.post-preview {
|
||||
font-size: 14px;
|
||||
color: var(--text-dim);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.tap-hint {
|
||||
font-size: 12px;
|
||||
color: var(--primary);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.post-full {
|
||||
display: none;
|
||||
padding: 0 20px 20px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.post-full p {
|
||||
margin-bottom: 12px;
|
||||
color: var(--text-dim);
|
||||
font-size: 15px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.post-full strong {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.post-card.expanded .post-full {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post-card.expanded .tap-hint {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-card.expanded .post-preview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-card.expanded {
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 30px rgba(0,200,255,0.15);
|
||||
}
|
||||
|
||||
/* Tip */
|
||||
.tip-section {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 40px 0;
|
||||
background: rgba(0,200,255,0.03);
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.tip-badge {
|
||||
text-align: center;
|
||||
color: var(--primary);
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tip-card {
|
||||
background: var(--dark-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.tip-card h3 {
|
||||
font-size: 18px;
|
||||
margin-bottom: 15px;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.tip-card p {
|
||||
color: var(--text-dim);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.tip-card strong {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 40px 0;
|
||||
text-align: center;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.footer p {
|
||||
margin-bottom: 10px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media (max-width: 600px) {
|
||||
.newsletter-form {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.post-header img {
|
||||
height: 180px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user