restored css
This commit is contained in:
parent
6d4804ad22
commit
01fcc6da7c
1 changed files with 296 additions and 264 deletions
560
css/styles.css
560
css/styles.css
|
@ -1,274 +1,306 @@
|
||||||
:root {
|
:root {
|
||||||
/* Tokyo Night Storm Color Palette */
|
--nord0: #2E3440;
|
||||||
--bg: #24283b; /* Base background */
|
--nord1: #3B4252;
|
||||||
--bg-dark: #1f2335; /* Darker background */
|
--nord2: #434C5E;
|
||||||
--bg-soft: #292e42; /* Softer background */
|
--nord3: #4C566A;
|
||||||
--surface: #343b58; /* Surface color */
|
--text-primary: #ECEFF4;
|
||||||
--text: #c0caf5; /* Primary text */
|
--text-secondary: #D8DEE9;
|
||||||
--text-dark: #a9b1d6; /* Darker text */
|
--accent: #88C0D0;
|
||||||
--accent: #7aa2f7; /* Blue accent */
|
}
|
||||||
--accent2: #9ece6a; /* Green accent */
|
|
||||||
--accent3: #bb9af7; /* Purple accent */
|
* {
|
||||||
}
|
margin: 0;
|
||||||
body {
|
padding: 0;
|
||||||
background-color: var(--bg);
|
box-sizing: border-box;
|
||||||
color: var(--text);
|
}
|
||||||
}
|
|
||||||
.nav-button {
|
body {
|
||||||
position: absolute;
|
background-color: var(--nord0);
|
||||||
top: 50%;
|
color: var(--text-primary);
|
||||||
transform: translateY(-50%);
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||||
background-color: var(--surface);
|
line-height: 1.6;
|
||||||
color: var(--accent);
|
}
|
||||||
padding: 1rem;
|
|
||||||
border-radius: 0.5rem;
|
.container {
|
||||||
transition: all 0.3s;
|
max-width: 1200px;
|
||||||
font-size: 1.5rem;
|
|
||||||
height: 150px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
opacity: 0.2;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
.nav-button:hover {
|
|
||||||
background-color: var(--accent);
|
|
||||||
color: var(--bg-dark);
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
.nav-button.prev { left: -50px; }
|
|
||||||
.nav-button.next { right: -50px; }
|
|
||||||
.project-card {
|
|
||||||
background-color: var(--surface);
|
|
||||||
}
|
|
||||||
.source-images {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
gap: 1rem;
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
@media (max-width: 1400px) {
|
|
||||||
.nav-button.prev { left: 0; }
|
|
||||||
.nav-button.next { right: 0; }
|
|
||||||
}
|
|
||||||
.responsive-container {
|
|
||||||
max-width: 800px;
|
|
||||||
max-height: 800px;
|
|
||||||
overflow: hidden;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
padding: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
background-color: var(--nord1);
|
||||||
|
padding: 2rem;
|
||||||
|
text-align: center;
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-top {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language-container {
|
||||||
|
width: 64px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language-switch {
|
||||||
|
display: inline-block;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language-switch:hover {
|
||||||
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.flag-icon {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: var(--text-primary);
|
||||||
|
font-size: 2.5rem;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: var(--text-primary);
|
||||||
|
font-size: 2rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
color: var(--text-primary);
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-links {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
gap: 2rem;
|
||||||
}
|
flex-wrap: wrap;
|
||||||
.responsive-container img, .responsive-container video {
|
margin-top: 1.5rem;
|
||||||
object-fit: contain;
|
}
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
.contact-links a {
|
||||||
}
|
|
||||||
.slide-description {
|
|
||||||
text-align: center;
|
|
||||||
padding: 0.5rem;
|
|
||||||
color: var(--text);
|
|
||||||
font-size: 1.2rem;
|
|
||||||
margin: 0.5rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-box {
|
|
||||||
width: 100%;
|
|
||||||
height: 750px;
|
|
||||||
background-color: #3b4252;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.image-box img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
.image-container h3 {
|
|
||||||
text-align: center;
|
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
font-size: 2rem;
|
text-decoration: none;
|
||||||
margin-top: 0.5rem;
|
|
||||||
}
|
|
||||||
.paragraph-section {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
line-height: 1.5;
|
|
||||||
color: #eceff4;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
.thank-you-slide {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 1rem;
|
|
||||||
padding: 2rem;
|
|
||||||
height: auto; /* zmień z 90vh */
|
|
||||||
}
|
|
||||||
|
|
||||||
.thank-you-text {
|
|
||||||
text-align: center;
|
|
||||||
font-size: 2.5rem;
|
|
||||||
color: var(--text);
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
padding-top: 2.5rem;
|
|
||||||
}
|
|
||||||
.project-card {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
header .container {
|
|
||||||
padding: 0.5rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
}
|
transition: color 0.3s ease;
|
||||||
header h1 {
|
padding: 0.5rem;
|
||||||
margin-bottom: 0;
|
border-radius: 4px;
|
||||||
font-size: 1.5rem;
|
}
|
||||||
}
|
|
||||||
header p {
|
.contact-links a:hover {
|
||||||
margin: 0;
|
color: var(--text-primary);
|
||||||
font-size: 0.875rem;
|
background-color: var(--nord2);
|
||||||
}
|
}
|
||||||
.project-card .flex-col.md\:flex-row {
|
|
||||||
min-height: 600px;
|
.section {
|
||||||
}
|
background-color: var(--nord1);
|
||||||
.project-card .md\:w-1\/3 img {
|
border-radius: 8px;
|
||||||
height: 100%;
|
padding: 2rem;
|
||||||
object-fit: cover;
|
margin-bottom: 2rem;
|
||||||
}
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
.project-card:nth-child(3) .responsive-container {
|
|
||||||
width: 100%;
|
.skills-container {
|
||||||
height: 90vh;
|
display: grid;
|
||||||
}
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||||
|
gap: 1.5rem;
|
||||||
.project-card:nth-child(3) .responsive-container img {
|
}
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
.skills-grid {
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(4) .flex-col.md\:flex-row {
|
|
||||||
height: 90vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(4) .md\:w-1\/3 img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(6) .responsive-container {
|
|
||||||
width: 100%;
|
|
||||||
height: 90vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(6) .responsive-container video {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(3),
|
|
||||||
.project-card:nth-child(4),
|
|
||||||
.project-card:nth-child(6) {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
max-width: 1400px !important;
|
|
||||||
padding-left: 1.5rem !important;
|
|
||||||
padding-right: 1.5rem !important;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(2) .container {
|
|
||||||
max-width: 1200px !important;
|
|
||||||
padding-left: 6rem !important;
|
|
||||||
padding-right: 6rem !important;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#slideContainer2 {
|
|
||||||
-ms-overflow-style: none !important;
|
|
||||||
scrollbar-width: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#slideContainer2::-webkit-scrollbar {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-button.prev {
|
|
||||||
left: 1rem !important;
|
|
||||||
z-index: 20 !important;
|
|
||||||
}
|
|
||||||
.nav-button.next {
|
|
||||||
right: 1rem !important;
|
|
||||||
z-index: 20 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(4) .md\:w-1\/3 {
|
|
||||||
width: 65% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(2) .slide-description {
|
|
||||||
font-size: 1.1rem !important;
|
|
||||||
line-height: 1.25 !important;
|
|
||||||
max-width: none !important;
|
|
||||||
margin-bottom: 0 !important;
|
|
||||||
padding-bottom: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#slideContainer2 .slide-description {
|
|
||||||
font-size: 1.1rem !important;
|
|
||||||
margin-bottom: 0 !important;
|
|
||||||
padding-bottom: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-container h3 {
|
|
||||||
margin-top: 0 !important;
|
|
||||||
padding-top: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-card:nth-child(2) .image-box img {
|
|
||||||
cursor: pointer !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 1400px) {
|
|
||||||
.nav-button.prev { left: 1rem !important; }
|
|
||||||
.nav-button.next { right: 1rem !important; }
|
|
||||||
}
|
|
||||||
|
|
||||||
#slideContainer7 .slide:last-child .image-container {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
gap: 2rem;
|
||||||
height: auto;
|
}
|
||||||
padding: 2rem;
|
|
||||||
}
|
.skills-row {
|
||||||
|
display: grid;
|
||||||
#slideContainer7 .slide:last-child .image-box {
|
grid-template-columns: 1fr 1fr;
|
||||||
width: 100%;
|
gap: 2rem;
|
||||||
height: 70vh;
|
}
|
||||||
}
|
|
||||||
|
.skills-category {
|
||||||
#slideContainer7 .slide:last-child img {
|
background-color: var(--nord2);
|
||||||
width: 100%;
|
border-radius: 6px;
|
||||||
height: 100%;
|
padding: 1.5rem;
|
||||||
object-fit: contain;
|
}
|
||||||
}
|
|
||||||
|
.skills-category h3 {
|
||||||
#slideContainer7 .slide:last-child .slide-description {
|
color: var(--text-primary);
|
||||||
margin-top: 1rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
padding-bottom: 0.5rem;
|
||||||
|
border-bottom: 2px solid var(--nord3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.skills {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill-tag {
|
||||||
|
background-color: var(--accent);
|
||||||
|
color: var(--nord0);
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill-tag:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill-tag.next-semester {
|
||||||
|
background-color: var(--nord2);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
border: 1px solid var(--nord3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill-tag.self-learning {
|
||||||
|
background-color: var(--nord2);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
border: 1px dashed var(--accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.education-item {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
background-color: var(--nord2);
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.education-item:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.education-item p {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.education-item p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
color: var(--text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.projects-container {
|
||||||
|
display: grid;
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project {
|
||||||
|
background-color: var(--nord2);
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 1.5rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.project h3 {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project p {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project ul {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-links {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portfolio-link {
|
||||||
|
color: var(--accent);
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portfolio-link:hover {
|
||||||
|
color: var(--text-primary);
|
||||||
|
background-color: var(--nord2);
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-position: inside;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul li {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.container {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-top {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-links {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skills-container {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skills-row {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skills-category {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.section {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-links a {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue