File tree 9 files changed +155
-8
lines changed
9 files changed +155
-8
lines changed Original file line number Diff line number Diff line change 14
14
< div id ="title "> < h1 >
15
15
Social Networks
16
16
</ h1 > </ div >
17
- < ul >
17
+ < div class ="hamburger-menu ">
18
+ < input id ="menu__toggle " type ="checkbox " />
19
+ < label class ="menu__btn " for ="menu__toggle ">
20
+ < span > </ span >
21
+ </ label >
22
+
23
+ < ul class ="menu__box ">
24
+ < li > < a class ="menu__item " href ="index.html "> < li > Home</ li >
25
+ < li > < a class ="menu__item " href ="sobre.html "> < li > About</ li > </ a >
26
+ < li > < a class ="menu__item " href ="projetos.html "> < li > Projects</ li > </ a >
27
+ < li > < a class ="menu__item " href ="contato.html "> < li > Contact</ li > </ a >
28
+ </ ul >
29
+ </ div >
30
+ < ul class ="list ">
18
31
< a href ="index.html "> < li > Home</ li > </ a >
19
32
< a href ="sobre.html "> < li > About</ li > </ a >
20
33
< a href ="projetos.html "> < li > Projects</ li > </ a >
Original file line number Diff line number Diff line change 13
13
< div id ="title ">
14
14
< h1 > Abner Kaizer</ h1 >
15
15
</ div >
16
- < ul >
16
+ < div class ="hamburger-menu ">
17
+ < input id ="menu__toggle " type ="checkbox " />
18
+ < label class ="menu__btn " for ="menu__toggle ">
19
+ < span > </ span >
20
+ </ label >
21
+
22
+ < ul class ="menu__box ">
23
+ < li > < a class ="menu__item " href ="index.html "> < li > Home</ li >
24
+ < li > < a class ="menu__item " href ="sobre.html "> < li > About</ li > </ a >
25
+ < li > < a class ="menu__item " href ="projetos.html "> < li > Projects</ li > </ a >
26
+ < li > < a class ="menu__item " href ="contato.html "> < li > Contact</ li > </ a >
27
+ </ ul >
28
+ </ div >
29
+ < ul class ="list ">
17
30
< a href ="index.html "> < li > Home</ li > </ a >
18
31
< a href ="sobre.html "> < li > About</ li > </ a >
19
32
< a href ="projetos.html "> < li > Projects</ li > </ a >
20
- < a href ="contato.html "> < li > Contacts </ li > </ a >
33
+ < a href ="contato.html "> < li > Contact </ li > </ a >
21
34
</ ul >
22
35
</ header >
23
36
< main >
Original file line number Diff line number Diff line change 13
13
< div id ="title ">
14
14
< h1 > Projects</ h1 >
15
15
</ div >
16
- < ul >
16
+ < div class ="hamburger-menu ">
17
+ < input id ="menu__toggle " type ="checkbox " />
18
+ < label class ="menu__btn " for ="menu__toggle ">
19
+ < span > </ span >
20
+ </ label >
21
+
22
+ < ul class ="menu__box ">
23
+ < li > < a class ="menu__item " href ="index.html "> < li > Home</ li >
24
+ < li > < a class ="menu__item " href ="sobre.html "> < li > About</ li > </ a >
25
+ < li > < a class ="menu__item " href ="projetos.html "> < li > Projects</ li > </ a >
26
+ < li > < a class ="menu__item " href ="contato.html "> < li > Contact</ li > </ a >
27
+ </ ul >
28
+ </ div >
29
+ < ul class ="list ">
17
30
< a href ="index.html "> < li > Home</ li > </ a >
18
31
< a href ="sobre.html "> < li > About</ li > </ a >
19
32
< a href ="projetos.html "> < li > Projects</ li > </ a >
Original file line number Diff line number Diff line change 11
11
< body >
12
12
< header >
13
13
< div id ="title "> < h1 > About</ h1 > </ div >
14
- < ul >
14
+ < div class ="hamburger-menu ">
15
+ < input id ="menu__toggle " type ="checkbox " />
16
+ < label class ="menu__btn " for ="menu__toggle ">
17
+ < span > </ span >
18
+ </ label >
19
+
20
+ < ul class ="menu__box ">
21
+ < li > < a class ="menu__item " href ="index.html "> < li > Home</ li >
22
+ < li > < a class ="menu__item " href ="sobre.html "> < li > About</ li > </ a >
23
+ < li > < a class ="menu__item " href ="projetos.html "> < li > Projects</ li > </ a >
24
+ < li > < a class ="menu__item " href ="contato.html "> < li > Contact</ li > </ a >
25
+ </ ul >
26
+ </ div >
27
+ < ul class ="list ">
15
28
< a href ="index.html "> < li > Home</ li > </ a >
16
29
< a href ="sobre.html "> < li > About</ li > </ a >
17
30
< a href ="projetos.html "> < li > Projects</ li > </ a >
21
34
< main >
22
35
23
36
< aside >
24
- < img src ="components/images/1672836797104.jpg " alt ="minha-foto ">
37
+ < img class =" foto " src ="components/images/1672836797104.jpg " alt ="minha-foto ">
25
38
< p >
26
39
My name is Abner Kaizer and I study computer engineering at < a href ="https://www.cefetmg.br/ "> CEFET-MG</ a > .
27
40
And I am a member of < a href ="https://commitjr.com "> Commit Jr</ a > .
Original file line number Diff line number Diff line change 34
34
display : flex;
35
35
flex-direction : row;
36
36
}
37
+ .hamburger-menu {
38
+ display : none;
39
+ }
37
40
# icons {
38
41
font-size : 36px ;
39
42
margin : 15px ;
Original file line number Diff line number Diff line change 1
1
@media screen and (max-width : 760px ){
2
2
header {
3
- flex-direction : column ;
3
+ flex-direction : row ;
4
4
}
5
5
main {
6
6
flex-direction : column;
14
14
body {
15
15
text-align : center;
16
16
}
17
+ .foto {
18
+ display : flex;
19
+ }
17
20
img {
18
21
display : none;
19
22
}
23
+ .list {
24
+ display : none;
25
+ }
26
+ .hamburger-menu {
27
+ display : flex;
28
+ }
29
+ # menu__toggle {
30
+ opacity : 0 ;
31
+ }
32
+ # menu__toggle : checked + .menu__btn > span {
33
+ transform : rotate (45deg );
34
+ }
35
+ # menu__toggle : checked + .menu__btn > span ::before {
36
+ top : 0 ;
37
+ transform : rotate (0deg );
38
+ }
39
+ # menu__toggle : checked + .menu__btn > span ::after {
40
+ top : 0 ;
41
+ transform : rotate (90deg );
42
+ }
43
+ # menu__toggle : checked ~ .menu__box {
44
+ right : 0 !important ;
45
+ }
46
+ .menu__btn {
47
+ position : fixed;
48
+ top : 20px ;
49
+ right : 20px ;
50
+ width : 26px ;
51
+ height : 26px ;
52
+ cursor : pointer;
53
+ z-index : 1 ;
54
+ }
55
+ .menu__btn > span ,
56
+ .menu__btn > span ::before ,
57
+ .menu__btn > span ::after {
58
+ display : block;
59
+ border-radius : 30px ;
60
+ position : absolute;
61
+ width : 100% ;
62
+ height : 4px ;
63
+ background-color : rgb (226 , 217 , 84 );
64
+ transition-duration : .25s ;
65
+ }
66
+ .menu__btn > span ::before {
67
+ content : '' ;
68
+ top : -8px ;
69
+ }
70
+ .menu__btn > span ::after {
71
+ content : '' ;
72
+ top : 8px ;
73
+ }
74
+ .menu__box {
75
+ display : flex;
76
+ position : fixed;
77
+ flex-direction : column;
78
+ top : 0 ;
79
+ right : -100% ;
80
+ width : 150px ;
81
+ height : 100% ;
82
+ margin : 0 ;
83
+ padding : 5px ;
84
+ background-color : # 0f0f0f ;
85
+ transition-duration : .25s ;
86
+ }
87
+ .menu__item {
88
+ display : block;
89
+ color : white;
90
+ font-family : Arial, Helvetica, sans-serif;
91
+ font-size : 20px ;
92
+ font-weight : 600 ;
93
+ text-decoration : none;
94
+ transition-duration : .25s ;
95
+ }
96
+ .menu__item : hover {
97
+ color : rgb (226 , 217 , 84 );
98
+ }
20
99
}
Original file line number Diff line number Diff line change 25
25
margin-top : 50px ;
26
26
justify-content : space-between;
27
27
}
28
+ .hamburger-menu {
29
+ display : none;
30
+ }
28
31
a {
29
32
30
33
color : white;
Original file line number Diff line number Diff line change 19
19
# title {
20
20
color : rgb (226 , 217 , 84 );
21
21
}
22
+ .hamburger-menu {
23
+ display : none;
24
+ }
22
25
img {
23
26
border : 1px solid # ddd ;
24
27
border-radius : 4px ;
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ header{
17
17
line-height : 10px ;
18
18
19
19
}
20
+ nav {
21
+ display : none;
22
+ }
20
23
li {
21
24
display : inline-block;
22
25
margin : 20px ;
29
32
line-height : 40px ;
30
33
font-family : Arial, Helvetica, sans-serif;
31
34
}
35
+ .hamburger-menu {
36
+ display : none;
37
+ }
32
38
main {
33
39
display : flex;
34
40
flex-direction : row;
46
52
height : 430px ;
47
53
48
54
}
55
+
49
56
span {
50
57
color : rgb (226 , 217 , 84 );
51
58
}
57
64
a : hover {
58
65
color : rgb (226 , 217 , 84 );
59
66
transition : 0.3s all;
60
- }
67
+ }
You can’t perform that action at this time.
0 commit comments