Skip to content

Commit b4f0c43

Browse files
author
davi.psouza
committed
fix: Ajuste de Layout
1 parent 3746232 commit b4f0c43

File tree

4 files changed

+263
-53
lines changed

4 files changed

+263
-53
lines changed

css/style.css

Lines changed: 186 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11

22
:root{
3-
--bg-color-one: #3b3b3b;
3+
--color-one: #3b3b3b;
4+
--color-two: #f8f9fa;
5+
--principal-color: #212529;
6+
--secondary-color: #ffc107;
7+
--auxiliar-color1: #cea014;
8+
--auxiliar-color2: #9d7e21;
49

510
--font-familly-one: Verdana;
611
--font-weight-one: 500;
@@ -12,11 +17,114 @@
1217
}
1318
*{
1419
font-family: Lexend;
20+
color: var(--color-two);
21+
transition: all .3s ease;
22+
scroll-behavior: smooth;
1523
}
16-
body{
17-
background-color: var(--bg-color-one);
24+
html, body{
25+
background-color: var(--principal-color);
1826
overflow-x: hidden;
1927
}
28+
29+
.intro{
30+
font-size: 20px;
31+
text-transform: uppercase;
32+
}
33+
34+
.intro-name{
35+
font-weight: 700;
36+
font-size: 50px;
37+
text-transform: uppercase;
38+
}
39+
40+
.intro-initials{
41+
font-size: 15px;
42+
text-align: justify;
43+
opacity: 50%;
44+
}
45+
46+
.intro-balls{
47+
48+
width: 20em;
49+
height: 20em;
50+
border-radius: 100%;
51+
position: absolute;
52+
transform: translate(0%, -50%);
53+
right: 0;
54+
55+
}
56+
57+
.intro-template{
58+
max-width: 32em!important;
59+
}
60+
61+
#ball3{
62+
63+
top: -10em;
64+
background-color: var(--auxiliar-color2);
65+
66+
}
67+
68+
#ball2{
69+
70+
top: 0em;
71+
background-color: var(--auxiliar-color1);
72+
73+
}
74+
75+
#ball1{
76+
77+
top: 10em;
78+
background-color: var(--secondary-color);
79+
80+
}
81+
82+
.page-content{
83+
84+
background-color: var(--principal-color);
85+
flex-wrap: wrap;
86+
justify-content: center;
87+
align-items: center;
88+
text-align: start;
89+
height: auto;
90+
min-height: 100vh;
91+
padding: 5em;
92+
93+
}
94+
95+
.topics{
96+
97+
padding: 0em 1em;
98+
margin: 0em 2em;
99+
max-width: 20em!important;
100+
101+
}
102+
103+
.topics .topic-title{
104+
color: var(--secondary-color);
105+
}
106+
107+
.download_cv{
108+
109+
text-decoration: none;
110+
font-size: 12px;
111+
text-transform: uppercase;
112+
color: var(--secondary-color);
113+
114+
}
115+
116+
.download_cv:hover{
117+
text-decoration: none;
118+
color: var(--auxiliar-color1);
119+
}
120+
121+
.disabled{
122+
123+
opacity: 50%;
124+
cursor: not-allowed;
125+
126+
}
127+
20128
.h1-title{
21129
font-weight: var(--font-weight-one);
22130
}
@@ -41,6 +149,13 @@ body{
41149
height: 5em;
42150
}
43151

152+
.nav-item:hover{
153+
154+
border-bottom: 4px solid #ecb41a!important;
155+
transition: all 0.1s ease;
156+
157+
}
158+
44159

45160
body::-webkit-scrollbar{
46161
width: 10px;
@@ -138,14 +253,6 @@ body::-webkit-scrollbar-thumb{
138253
transform: translate3d(50px, 0, 0);
139254
}
140255

141-
.hover{
142-
transition: all 0.3s ease;
143-
}
144-
.hover:hover{
145-
transition: all 0.3s ease;
146-
opacity: 50%;
147-
}
148-
149256
.hover-warning{
150257
transition: all 0.3s ease;
151258
}
@@ -190,3 +297,71 @@ body::-webkit-scrollbar-thumb{
190297
transform: translate3d(-50%, 0px,0);
191298
}
192299
}
300+
301+
#Links{
302+
303+
background-color: var(--color-one);
304+
305+
}
306+
307+
@media (max-width: 850px) {
308+
body {
309+
font-size: 14px;
310+
/* padding: 1em; */
311+
}
312+
313+
.intro-name {
314+
font-size: 30px;
315+
}
316+
317+
.intro {
318+
font-size: 16px;
319+
}
320+
321+
.intro-balls {
322+
width: 10em;
323+
height: 10em;
324+
transform: translate(-50%, -50%);
325+
right: 0%;
326+
}
327+
328+
#ball1{
329+
top: 5em;
330+
}
331+
332+
#ball3{
333+
top: -5em;
334+
}
335+
336+
.container-one {
337+
width: 100%;
338+
height: auto;
339+
}
340+
341+
.card-one {
342+
max-width: 100%;
343+
}
344+
345+
.h1-title {
346+
font-size: 1.5em;
347+
}
348+
349+
.p-subtitle {
350+
font-size: 2em;
351+
}
352+
}
353+
354+
@media (max-width: 770px), (max-height: 800px) {
355+
356+
.balls{
357+
display: none;
358+
}
359+
360+
.intro-template{
361+
text-align: center;
362+
}
363+
364+
.intro-initials{
365+
margin-top: 1em;
366+
}
367+
}

index.html

Lines changed: 66 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,64 +24,88 @@
2424
<button class="navbar-toggler mx-3 my-2" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
2525
<span class="navbar-toggler-icon"></span>
2626
</button>
27-
<div class="d-flex align-items-center navbar-brand fs-6 hover-warning">
28-
<p class="mx-3 m-2">Davi Pinheiro de Souza</p>
29-
</div>
3027
<div class="collapse navbar-collapse" id="navbarSupportedContent">
31-
<ul class="navbar-nav mx-5 my-4 ms-auto" id="navbar">
28+
<ul class="navbar-nav my-4 mx-auto" id="navbar">
3229

3330
<!-- Espaço destinado a inserção de opções da navbar via script -->
3431

3532
</ul>
3633
</div>
3734
</nav>
3835

39-
<div class="d-flex text-start align-items-center justify-content-center" style="background-color: #212529; height: auto; min-height: 100vh;">
36+
<div class="page-content row" id="Home">
4037
<!-- <h1 class="display-4 h1-title text-warning mb-2"><strong>Davi Pinheiro de Souza</strong></h1>
4138
<p class="fs-3 text-light" id="funcs" style="height: 1em"><small></small></p> -->
42-
<div style="max-width: 40em;">
43-
<p class="text-light mb-0" style="font-family: Lexend; font-size: 20px;">Hello, I am</p>
44-
<p class="text-light" style="font-family: Lexend; font-weight: 900; font-size: 50px;">DAVI P. DE SOUZA</p>
39+
<div class="intro-template col-md-6">
40+
<p class="intro mb-0">Hello, I am</p>
41+
<p class="intro-name">Davi P. de Souza</p>
4542
<div>
46-
<p class="text-warning mb-1" style="font-family: Lexend; font-size: 20px;">And I am a Web Developer</p>
47-
<p class="text-light mb-0 opacity-50" style="font-family: Lexend; font-size: 15px; text-align: justify;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer a neque turpis. Nam eu feugiat dolor. Sed nec hendrerit urna, nec fringilla odio. Duis nec orci justo. </p>
43+
<p class="intro mb-1" style="color: var(--secondary-color);">I am a Web Developer</p>
44+
<p class="intro-initials text-light mb-0">
45+
Sou apaixonado por tecnologia e desenvolvimento web,
46+
Tenho experiência em front-end e back-end,
47+
e estou sempre buscando aprender novas ferramentas e
48+
linguagens para evoluir meus projetos. Meu objetivo é
49+
transformar ideias em aplicações úteis e acessíveis.
50+
</p>
4851
</div>
4952
</div>
50-
<div class="position-relative ms-5 mt-4">
51-
<div style="width: 20em; height: 100%;">
52-
<div class="bg-warning rounded-circle opacity-100 position-absolute translate-middle start-50" style="width: 20em; height: 20em; top: -10em;"></div>
53-
<div class="bg-warning rounded-circle opacity-75 position-absolute translate-middle start-50" style="width: 20em; height: 20em; top: 0em;"></div>
54-
<div class="bg-warning rounded-circle opacity-50 position-absolute translate-middle start-50" style="width: 20em; height: 20em; top: 10em;"></div>
55-
</div>
53+
<div class="intro-template balls col-md-6 position-relative mt-4">
54+
<div class="intro-balls" id="ball3"></div>
55+
<div class="intro-balls" id="ball2"></div>
56+
<div class="intro-balls" id="ball1"></div>
5657
</div>
5758
</div>
5859

59-
<!-- Sobre -->
60-
<div class="d-flex align-items-center justify-content-center p-5" style=" background-color: #212529;" id="Sobre">
61-
<div class="row align-items-center justify-content-center">
62-
<!-- Container da Foto -->
63-
<div class="col-sm-4 m-5 tremidinha" data-anime= "up">
64-
<!-- Foto -->
65-
<img class="img-fluid rounded shadow" src="images/Me.jpeg" alt="Minha foto">
66-
</div>
67-
<!-- Container Infos -->
68-
<div class="col-sm-4" data-anime= "up">
69-
<!-- Titulo -->
70-
<h2 class="text-warning mb-4">Sobre mim</h2>
71-
<!-- Informações -->
72-
<p class="text-light mb-4" style="text-align: justify;">Olá, me chamo Davi Pinheiro de Souza, tenho 22 anos e sou Desenvolvedor Web e Suporte em TI.
73-
Atualmente trabalho como Desenvolvedor Web com PHP e Bootstrap. Estou no quinto semestre de Engenharia de Software. Estudo JavaScript, PHP, Bootstrap, React JS, Java, C#, Springboot e MySQL para me aperfeiçoar cada vez mais na construção de sites e API's.
74-
Venho me interessando muito pela área de Inteligencia Artificial e Redes Neurais e pretendo estudar isso um pouco mais a fundo.</p>
75-
<!-- Botão Curriculo -->
76-
<a class="btn btn-outline-warning tremidinha" style="text-decoration: none;font-weight: 500;" href="file/CV_DaviPinheiroDeSouza.pdf" download="Curriculo_Davi" target="_blank">
77-
<!-- Icon -->
78-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download mb-1 me-1" viewBox="0 0 16 16">
79-
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
80-
<path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
81-
</svg>
82-
Baixar CV
60+
<div class="page-content row flex-column m-0" id="Sobre">
61+
62+
<div class="col-12 text-center mb-5" data-anime= "up">
63+
<p class="intro-name mb-0" style="font-size: 30px;">
64+
What about me?
65+
</p>
66+
<i>
67+
<a class="download_cv disabled" href="file/CV_DaviPinheiroDeSouza.pdf" download="Curriculo_Davi" target="_blank">
68+
Download CV
8369
</a>
70+
</i>
71+
</div>
72+
<div class="col-12 row m-0 justify-content-center align-items-center mt-5" data-anime= "up">
73+
74+
<div class="col-lg-4 topics" data-anime= "up">
75+
<p class="topic-title">Who am I?</p>
76+
<p class="intro-initials">
77+
I'm a web developer with a strong interest in back-end
78+
technologies, currently working as a Support Analyst at
79+
TOTVS and I’m a Software Engeneering Studant. I'm
80+
passionate about solving real-world problems through
81+
code and continuously improving my skills.
82+
</p>
8483
</div>
84+
85+
<div class="col-lg-4 topics" data-anime= "up">
86+
<p class="topic-title">What do I do?</p>
87+
<p class="intro-initials">
88+
I develop full-stack applications using technologies
89+
like Java, MySQL, PHP, ADVPL, Angular, and a bit of Python.
90+
I'm also exploring React and WebSockets, and I enjoy
91+
building APIs and working on robust back-end logic. At
92+
work, I’ve been learning ADVPL, TLPP, Angular, and PO
93+
UI to support TOTVS systems.
94+
</p>
95+
</div>
96+
97+
<div class="col-lg-4 topics" data-anime= "up">
98+
<p class="topic-title">What are my goals?</p>
99+
<p class="intro-initials">
100+
I'm focused on deepening my knowledge in back-end
101+
development, especially in C# and architecture. I
102+
also want to expand into cybersecurity and ethical
103+
hacking in the future. My main goal is to become a
104+
well-rounded developer who can create secure, scalable,
105+
and efficient systems.
106+
</p>
107+
</div>
108+
85109
</div>
86110
</div>
87111

@@ -347,6 +371,8 @@ <h2 class="text-warning fs-4 text-center text-lg-start mt-5">
347371
<script src="js/OpcoesNav.js"></script>
348372
<script src="js/exibeOpcoes.js"></script>
349373

374+
<script src="js/script.js"></script>
375+
350376
<!-- Script Bootstrap -->
351377
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
352378

js/OpcoesNav.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ class OpcoesNav{
44

55
var divNav = document.getElementById("navbar");
66

7-
divNav.innerHTML += `<li class="nav-item mx-4 hover">
8-
<a class="navbar-brand fs-6 text-light" href="#${id}">${id}</a>
7+
divNav.innerHTML += `<li class="nav-item px-4">
8+
<a class="navbar-brand mx-0 fs-6 text-light" href="#${id}">${id}</a>
99
</li>`
1010

1111
}

js/script.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const disabledItems = Array.from(document.getElementsByClassName('disabled'));
2+
3+
disabledItems.forEach(element => {
4+
element.addEventListener('click', (event) => {
5+
event.preventDefault(); // Impede o comportamento padrão do clique
6+
event.stopPropagation(); // Impede que o evento se propague
7+
console.log('Este item está desabilitado.');
8+
});
9+
});

0 commit comments

Comments
 (0)