mirror of
https://github.com/EDeev/deev.space.git
synced 2026-06-15 19:11:09 +03:00
608 lines
No EOL
12 KiB
CSS
608 lines
No EOL
12 KiB
CSS
/**
|
|
* Layout Components - Navigation, Bento Grid, Sections, Headers, Footer
|
|
*/
|
|
|
|
/* Navigation */
|
|
.navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: var(--z-fixed);
|
|
background: rgba(13, 13, 13, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding: var(--space-md) 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.navbar.scrolled {
|
|
background: rgba(13, 13, 13, 0.95);
|
|
padding: var(--space-sm) 0;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.navbar.hidden {
|
|
transform: translateY(-100%);
|
|
}
|
|
|
|
.navbar > .container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
color: var(--text-secondary);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-radius: var(--radius-sm);
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
transition: var(--transition);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-link i {
|
|
font-size: 0.85rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--text-primary);
|
|
background: var(--primary-muted);
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--primary-color);
|
|
background: var(--primary-muted);
|
|
}
|
|
|
|
.nav-auth {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.nav-user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.nav-user-avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--primary-muted);
|
|
color: var(--primary-color);
|
|
border-radius: var(--radius-full);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.nav-user-name {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nav-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
z-index: var(--z-fixed);
|
|
}
|
|
|
|
.nav-toggle span {
|
|
width: 24px;
|
|
height: 2px;
|
|
background: var(--text-primary);
|
|
transition: var(--transition);
|
|
transform-origin: center;
|
|
}
|
|
|
|
.nav-toggle.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(5px, 5px);
|
|
}
|
|
|
|
.nav-toggle.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-toggle.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(5px, -5px);
|
|
}
|
|
|
|
/* Bento Grid Layout */
|
|
.bento-grid {
|
|
display: grid;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-lg) 0;
|
|
}
|
|
|
|
.bento-hero {
|
|
grid-template-columns: repeat(12, 1fr);
|
|
grid-auto-rows: minmax(100px, auto);
|
|
padding-top: 100px;
|
|
min-height: calc(100vh - 100px);
|
|
}
|
|
|
|
.bento-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-xl);
|
|
transition: var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bento-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, var(--primary-muted), transparent);
|
|
opacity: 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.bento-card:hover {
|
|
border-color: var(--border-light);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.bento-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.bento-card-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
font-size: 1rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.bento-card-title i {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Profile Card */
|
|
.bento-profile {
|
|
grid-column: span 8;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2xl);
|
|
background: var(--gradient-card);
|
|
padding: var(--space-2xl);
|
|
}
|
|
|
|
.profile-photo {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.profile-photo img {
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: var(--radius-xl);
|
|
object-fit: cover;
|
|
border: 3px solid var(--border-color);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.bento-profile:hover .profile-photo img {
|
|
border-color: var(--primary-color);
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
.profile-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-info h1 {
|
|
margin-bottom: var(--space-sm);
|
|
background: var(--gradient-text);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.profile-title {
|
|
font-size: 1.25rem;
|
|
color: var(--primary-color);
|
|
font-weight: 600;
|
|
margin-bottom: var(--space-md);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.profile-title i {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.profile-description {
|
|
color: var(--text-secondary);
|
|
font-size: 1rem;
|
|
line-height: 1.8;
|
|
margin-bottom: var(--space-lg);
|
|
max-width: 550px;
|
|
}
|
|
|
|
.profile-buttons {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Quick Info Cards */
|
|
.bento-quick {
|
|
grid-column: span 4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.quick-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
transition: var(--transition);
|
|
flex: 1;
|
|
}
|
|
|
|
.quick-card:hover {
|
|
border-color: var(--primary-color);
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.quick-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
background: var(--primary-muted);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--primary-color);
|
|
font-size: 1.25rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.quick-content h4 {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
margin-bottom: var(--space-xs);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.quick-content p {
|
|
font-size: 1rem;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Social Icons Inline */
|
|
.social-icons-inline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
margin-top: var(--space-xs);
|
|
}
|
|
|
|
.social-icon-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-secondary);
|
|
font-size: 1.25rem;
|
|
transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.social-icon-link:hover {
|
|
color: var(--primary-color);
|
|
transform: scale(1.15);
|
|
text-shadow: 0 0 15px var(--primary-color);
|
|
}
|
|
|
|
.social-icon-link:hover .fa-telegram {
|
|
color: #0088cc;
|
|
text-shadow: 0 0 15px rgba(0, 136, 204, 0.6);
|
|
}
|
|
|
|
.social-icon-link:hover .fa-github {
|
|
color: #fff;
|
|
text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.social-icon-link:hover .fa-vk {
|
|
color: #4a76a8;
|
|
text-shadow: 0 0 15px rgba(74, 118, 168, 0.6);
|
|
}
|
|
|
|
.social-icon-link:hover .fa-linkedin {
|
|
color: #0077b5;
|
|
text-shadow: 0 0 15px rgba(0, 119, 181, 0.6);
|
|
}
|
|
|
|
/* Skills Card */
|
|
.bento-skills,
|
|
.skills-full {
|
|
grid-column: span 8;
|
|
}
|
|
|
|
.skills-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.skills-header h3 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.icon-box {
|
|
width: 44px;
|
|
height: 44px;
|
|
background: var(--primary-muted);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--primary-color);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.skills-categories {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.skill-category {
|
|
background: var(--bg-elevated);
|
|
padding: var(--space-md);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.skill-category-title {
|
|
font-size: 0.7rem;
|
|
color: var(--primary-color);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: var(--space-md);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.skill-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
/* Sections */
|
|
.section {
|
|
padding: var(--space-3xl) 0;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--space-2xl);
|
|
flex-wrap: wrap;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
margin: 0;
|
|
}
|
|
|
|
.section-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: var(--primary-muted);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--primary-color);
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.section-subtitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
font-size: 1.25rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.section-subtitle i {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.section-divider {
|
|
height: 1px;
|
|
background: linear-gradient(90deg, var(--primary-color), var(--border-color), transparent);
|
|
margin: var(--space-2xl) 0;
|
|
}
|
|
|
|
/* Page Header */
|
|
.page-header {
|
|
text-align: center;
|
|
padding: calc(100px + var(--space-2xl)) 0 var(--space-2xl);
|
|
}
|
|
|
|
.page-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.page-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
background: var(--primary-muted);
|
|
border-radius: var(--radius-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--primary-color);
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 1.1rem;
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer-minimal {
|
|
background: var(--bg-darker);
|
|
border-top: 1px solid var(--border-color);
|
|
padding: var(--space-xl) 0;
|
|
margin-top: var(--space-3xl);
|
|
}
|
|
|
|
.footer-minimal-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.footer-logo {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-family: 'Raleway', sans-serif;
|
|
font-weight: 700;
|
|
font-size: 1.25rem;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.footer-social-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.footer-social-icons a {
|
|
color: var(--text-secondary);
|
|
font-size: 1.125rem;
|
|
transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-social-icons a:hover {
|
|
color: var(--primary-color);
|
|
transform: translateY(-2px);
|
|
text-shadow: 0 0 12px var(--primary-color);
|
|
}
|
|
|
|
.footer-copyright-minimal {
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
margin: 0;
|
|
}
|
|
|
|
/* CTA Section */
|
|
.cta-section {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-3xl);
|
|
margin: var(--space-3xl) 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cta-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: var(--gradient-glow);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cta-content {
|
|
position: relative;
|
|
text-align: center;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.cta-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: var(--primary-muted);
|
|
border-radius: var(--radius-xl);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
color: var(--primary-color);
|
|
margin: 0 auto var(--space-xl);
|
|
}
|
|
|
|
.cta-content h2 {
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.cta-content p {
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.cta-buttons {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
} |