mirror of
https://github.com/Floriansylvain/compact-portfolio.git
synced 2026-08-19 19:53:24 +02:00
feat: removed urgent bannger & added current exp
This commit is contained in:
@@ -473,33 +473,6 @@ a:visited:hover {
|
||||
color: var(--accent-2);
|
||||
}
|
||||
|
||||
/* Urgent banner */
|
||||
.banner {
|
||||
opacity: 0;
|
||||
transform: translateY(-100%);
|
||||
animation: slideInFromTop 0.6s ease forwards;
|
||||
animation-delay: 1.5s;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 15;
|
||||
pointer-events: none;
|
||||
margin-top: 82px;
|
||||
}
|
||||
|
||||
.banner .container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 14px;
|
||||
padding: 12px 16px;
|
||||
backdrop-filter: saturate(1.2) blur(6px);
|
||||
pointer-events: all;
|
||||
max-width: 1084px;
|
||||
}
|
||||
|
||||
@keyframes slideInFromTop {
|
||||
from {
|
||||
opacity: 0;
|
||||
@@ -511,21 +484,6 @@ a:visited:hover {
|
||||
}
|
||||
}
|
||||
|
||||
.badge-urgent {
|
||||
background: #ff5858;
|
||||
color: #0e120e;
|
||||
border: 1px solid #ff9a9a;
|
||||
border-radius: 999px;
|
||||
padding: 4px 10px;
|
||||
font-weight: 700;
|
||||
font-family: var(--font-heading);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.banner .btn {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
@@ -620,10 +578,6 @@ footer .to-top {
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.banner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user