diff --git a/index.html b/index.html index 806dfaf..1c0c529 100644 --- a/index.html +++ b/index.html @@ -18,8 +18,15 @@
-

Hello! I'm Erik Fehér, a passionate software developer with a knack for creating innovative solutions. With a background in computer science and years of experience in the tech industry, I specialize in building web applications that are both user-friendly and efficient. When I'm not coding, you can find me exploring the latest tech trends or contributing to open-source projects. Let's connect and create something amazing together!

- +
+
Erik Feher
+ +
+
+
+ +
+
diff --git a/public/close.svg b/public/close.svg new file mode 100644 index 0000000..a77d295 --- /dev/null +++ b/public/close.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/public/next.svg b/public/next.svg new file mode 100644 index 0000000..8c5be8f --- /dev/null +++ b/public/next.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/public/profile.jpg b/public/profile.jpg new file mode 100644 index 0000000..b0b130f Binary files /dev/null and b/public/profile.jpg differ diff --git a/styles.css b/styles.css index d545002..b2d58b5 100644 --- a/styles.css +++ b/styles.css @@ -5,10 +5,18 @@ --background-color: #1b1b1b; --text-color: #fff; --label-height: 60px; + --header-height: 50px; + --base-border-radius: 7px; + --base-box-shadow: 0 10px 15px rgb(0 0 0 / 20%); + --base-blur: blur(3px); + --base-content-background-color: #ffffff20; + --content-wrap-padding: 16px; + --header-margin-bottom: 20px; font-family: "BBH Sans Bogle", sans-serif; font-weight: 400; font-style: normal; + color: #fff; } html, body { @@ -32,6 +40,10 @@ html, body { filter: grayscale(100%) brightness(80%); transform: translateY(0); transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955); + object-fit: cover; + width: 100%; + height: 100%; + } .card { @@ -41,6 +53,7 @@ html, body { flex-direction: column; justify-content: center; align-items: center; + width: 100%; } .card-wrapper { @@ -50,6 +63,7 @@ html, body { justify-content: center; align-items: center; width: 100%; + height: 100%; cursor: pointer; transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955); } @@ -100,21 +114,83 @@ html, body { display: block; position: relative; max-width: 100%; + width: 100%; height: calc(100dvh - (2 * var(--card-gap))); top: calc(-1 * (100dvh - (2 * var(--card-gap))) - var(--label-height)); + overflow: auto; } .content-wrapper { - display: block; + display: flex; opacity: 0; - transition: opacity 0.1s cubic-bezier(0.455, 0.03, 0.515, 0.955); - margin: 10px; - padding: 0; + transition: opacity 0s cubic-bezier(0.455, 0.03, 0.515, 0.955); + height: calc(100% - 16px); + margin: var(--content-wrap-padding) var(--content-wrap-padding) 0px var(--content-wrap-padding); } .visible { display: block !important; opacity: 1 !important; transition-delay: 0.5s !important; - transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955); -} \ No newline at end of file + transition: 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955); +} + +.header { + display: flex; + justify-content: space-between; + align-items: center; + font-size: 48px; + margin-bottom: var(--header-margin-bottom); + height: var(--header-height); +} + +.brand { + font-size: 24px; + display: flex; + align-items: center; + justify-items: center; + padding: 10px; + background-color: var(--base-content-background-color); + box-shadow: var(--base-box-shadow); + color: #ffffff; + backdrop-filter: var(--base-blur); + border-radius: var(--base-border-radius); + +} + +.close { + cursor: pointer; + width: 48px; + background-color: var(--base-content-background-color); + backdrop-filter: var(--base-blur); + box-shadow: var(--base-box-shadow); + border-radius: var(--base-border-radius); + transition: 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955); +} + +.close:hover { + transform: scale(1.1); +} + +.card-content { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: calc(100% - var(--header-height) - var(--header-margin-bottom) - var(--content-wrap-padding)); +} + +#card-content-container { + display: flex; +} + +#card-content-image { + border-radius: var(--base-border-radius); + background-color: var(--base-content-background-color); + backdrop-filter: var(--base-blur); + box-shadow: var(--base-box-shadow); + padding: 10px; + width: 300px; + height: 300px; + +}