From 1c96b94f83ad6136836867d6f66d66d4dd3a178b Mon Sep 17 00:00:00 2001 From: Rick Date: Mon, 25 Mar 2024 16:17:52 -0300 Subject: [PATCH] colocando borda animada no card sociais --- assets/styles/contato-footer-scroll.css | 61 ++++++++++++++++++++++--- assets/styles/intro-sobre.css | 33 +++++++++++-- index.html | 13 ++++-- 3 files changed, 92 insertions(+), 15 deletions(-) diff --git a/assets/styles/contato-footer-scroll.css b/assets/styles/contato-footer-scroll.css index 19bd6c1..5fe2dae 100644 --- a/assets/styles/contato-footer-scroll.css +++ b/assets/styles/contato-footer-scroll.css @@ -18,16 +18,19 @@ .colunas { display: flex; flex-direction: row; - justify-content: space-evenly; - margin: 0 7%; + justify-content: space-between; + margin: 10%; align-items: center; + } .colunaE { + flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; + margin: 0 10px; } .colunaE h3 { @@ -41,6 +44,33 @@ animation-timeline: view(); animation-range: cover 0% cover 40%; } + + .colunaM{ + flex: 1; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin: 0 10px; + } + + .colunaM h3{ + font-size: 17px; + font-style: normal; + font-weight: 500; + line-height: normal; + color: #FFF; + text-align: center; + } + + .colunaD{ + flex: 1; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin: 0 10px; + } .btn6 { display: flex; @@ -80,6 +110,7 @@ .sociais { display: flex; + position: relative; flex-direction: column; align-items: center; justify-content: center; @@ -92,6 +123,25 @@ animation: appear3 forwards; animation-timeline: view(); animation-range: cover 0% cover 50%; + overflow: hidden; + } + + .sociais::before { + content: ""; + position: absolute; + background-color: #4dff00; + width: 480px; + height: 150px; + border-radius: 50px; + animation: barra 6s linear infinite normal none running; + } + + .sociais::after { + content: ""; + position: absolute; + background: var(--verde-quaternario); + inset: 4px; + border-radius: 43px; } .sociais h3 { @@ -100,7 +150,7 @@ font-weight: 600; line-height: normal; padding-bottom: 20px; - ; + z-index: 1; } .redes { @@ -112,6 +162,7 @@ .redes a { cursor: pointer; + z-index: 1; } #gith, @@ -134,12 +185,8 @@ #avaRick { display: flex; width: 350px; - padding: 16.884px 23.052px 0px 21.828px; justify-content: center; align-items: center; - animation: appear2 forwards; - animation-timeline: view(); - animation-range: cover 0% cover 50%; } footer { diff --git a/assets/styles/intro-sobre.css b/assets/styles/intro-sobre.css index 35ea65a..4743f85 100644 --- a/assets/styles/intro-sobre.css +++ b/assets/styles/intro-sobre.css @@ -101,20 +101,40 @@ .btn { display: flex; + position: relative; flex-direction: row; align-items: center; justify-content: space-around; padding-left: 10%; - width: 140px; - height: 33px; + width: auto; + height: 40px; border-radius: 19.5px; - background: var(--verde-quaternario); + background: #187618; box-shadow: 0px 4px 1px 0px #FFF; cursor: pointer; transition: background-color 0.5s ease, color 0.5s ease, width 0.5s ease, height 0.5s ease; text-decoration: none; + overflow: hidden; } - + + .btn::before{ + content: ""; + position: absolute; + background-color: #4dff00; + width: 300px; + height: 40px; + border-radius: 30px; + animation: 6s linear 0s infinite normal none running barra; + } + + .btn::after{ + content: ""; + position: absolute; + background: var(--verde-quaternario); + inset: 3px; + border-radius: 30px; + } + .btn:hover { background-color: var(--verde-cinco); box-shadow: 0px 3px 1px 0px #FFF; @@ -128,4 +148,9 @@ text-align: center; padding-left: 10px; transition: color 0.5s ease; + z-index: 1; + } + + .btn i{ + z-index: 1; } \ No newline at end of file diff --git a/index.html b/index.html index d83711b..396390e 100644 --- a/index.html +++ b/index.html @@ -79,7 +79,7 @@

{rickreisme/sobre}

-

Currículo

+

Veja o meu Currículo

@@ -260,7 +260,7 @@

{rickreisme/contato}

-

+

Estou procurando oportunidades no mercado de
trabalho, entre em contato comigo por e-mail clicando no
botão abaixo ou pelo LinkedIn para propostas.
@@ -270,7 +270,7 @@

Enviar Mensagem

- +

Me acompanhe nas redes sociais

@@ -293,7 +293,12 @@

Me acompanhe nas redes sociais

- +
+
+ +
+ +