File tree Expand file tree Collapse file tree 1 file changed +53
-4
lines changed Expand file tree Collapse file tree 1 file changed +53
-4
lines changed Original file line number Diff line number Diff line change 25
25
}
26
26
27
27
nav ,
28
- menu ,
29
28
section ,
30
29
main ,
31
30
aside {
40
39
41
40
menu {
42
41
background-color : # 7048e8 ;
43
- color : # fff ;
44
42
grid-column : 2 / -1 ;
43
+ display : flex;
44
+ align-items : center;
45
+ gap : 12px ;
46
+ padding : 0 40px ;
47
+ }
48
+
49
+ button : last-child {
50
+ background-color : # d6336c ;
51
+ margin-left : auto;
52
+ }
53
+
54
+ button {
55
+ display : inline-block;
56
+ font-size : 16px ;
57
+ font-weight : bold;
58
+ background-color : # 5f3dc4 ;
59
+ border : none;
60
+ cursor : pointer;
61
+ color : # fff ;
62
+ padding : 8px 12px ;
45
63
}
46
64
47
65
section {
48
66
background-color : # e9ecef ;
67
+ padding : 40px ;
68
+ display : flex;
69
+ flex-direction : column;
70
+ gap : 40px ;
71
+ overflow : scroll;
72
+ }
73
+
74
+ .email {
75
+ background-color : # adb5bd ;
76
+ height : 96px ;
77
+ display : flex;
78
+ align-items : center;
79
+ justify-content : center;
80
+ flex-shrink : 0 ;
49
81
}
50
82
51
83
aside {
56
88
57
89
< body >
58
90
< nav > Nav</ nav >
59
- < menu > Menu</ menu >
60
- < section > Inbox</ section >
91
+ < menu >
92
+ < button > New</ button >
93
+ < button > Reply</ button >
94
+ < button > Forward</ button >
95
+ < button > Mark Unread</ button >
96
+ < button > Trash</ button >
97
+ </ menu >
98
+ < section >
99
+ < div class ="email "> Email 1</ div >
100
+ < div class ="email "> Email 2</ div >
101
+ < div class ="email "> Email 3</ div >
102
+ < div class ="email "> Email 4</ div >
103
+ < div class ="email "> Email 5</ div >
104
+ < div class ="email "> Email 6</ div >
105
+ < div class ="email "> Email 7</ div >
106
+ < div class ="email "> Email 8</ div >
107
+ < div class ="email "> Email 9</ div >
108
+ < div class ="email "> Email 10</ div >
109
+ </ section >
61
110
< main > Email view</ main >
62
111
< aside > Additional info</ aside >
63
112
</ body >
You can’t perform that action at this time.
0 commit comments