File tree Expand file tree Collapse file tree 3 files changed +61
-3
lines changed Expand file tree Collapse file tree 3 files changed +61
-3
lines changed Original file line number Diff line number Diff line change 12
12
13
13
< body >
14
14
< header class ="header ">
15
- < img class ="header__image " alt ="Logo de Codely " src ="./assets/logo-codelytv.png ">
15
+ < div class ="header__image ">
16
+ < img alt ="Logo de Codely " src ="./assets/logo-codelytv.png ">
17
+ </ div >
16
18
< nav class ="header__menu ">
17
19
< ul >
18
20
< li >
35
37
</ li >
36
38
</ ul >
37
39
</ nav >
38
- < a class ="header__subscribe " href ="https://codely.tv/pro/cursos "> Subscribete </ a >
40
+ < a class ="header__subscribe " href ="https://codely.tv/pro/cursos "> Subscríbete </ a >
39
41
</ header >
40
42
41
43
< main class ="courses ">
Original file line number Diff line number Diff line change
1
+ .header {
2
+ background-color : #181818 ;
3
+ display : flex ;
4
+ flex-wrap : wrap ;
5
+ align-items : center ;
6
+ padding : 1rem ;
7
+
8
+ a {
9
+ color : white ;
10
+ text-decoration : none ;
11
+ }
12
+
13
+ & __menu {
14
+ flex-basis : 100% ;
15
+ order : 1 ;
16
+
17
+ @media screen and (min-width : 60rem ) {
18
+ order : 0 ;
19
+ flex-basis : auto ;
20
+ }
21
+
22
+ ul {
23
+ display : flex ;
24
+ flex-wrap : wrap ;
25
+ padding-left : 0 ;
26
+ margin : 0 ;
27
+
28
+ li {
29
+ flex : 1 ;
30
+ list-style-type : none ;
31
+ text-align : center ;
32
+ padding : 0.25rem 1rem ;
33
+ }
34
+ }
35
+ }
36
+
37
+ & __subscribe {
38
+ border : 1px solid #69e081 ;
39
+ border-radius : 0.25rem ;
40
+ padding : 0.25rem 1rem ;
41
+ }
42
+
43
+ & __image {
44
+ flex : 1 ;
45
+ text-align : center ;
46
+ display : flex ;
47
+ justify-content : center ;
48
+ align-items : center ;
49
+
50
+ img {
51
+ max-width : none ;
52
+ max-height : 2.3em ;
53
+ }
54
+ }
55
+ }
Original file line number Diff line number Diff line change 1
- @import " ./base" ;
1
+ @import " ./base" ;
2
+ @import " ./header" ;
You can’t perform that action at this time.
0 commit comments