-
Notifications
You must be signed in to change notification settings - Fork 0
/
challenge8_singlePage.html
123 lines (120 loc) · 3.1 KB
/
challenge8_singlePage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
.container {
display: grid;
grid-template-columns: 1fr 4fr 8fr 3fr;
grid-template-rows: 1fr 11fr;
height: 100vh;
}
nav {
border: 2px solid black;
grid-column: 1/2;
grid-row: 1/-1;
background-color: #343a40;
font-size: 24px;
font-weight: 500px;
padding: 20px;
color: white;
text-align: center;
}
.top {
border: 2px solid black;
grid-column: 2/-1;
background-color: #1098ad;
display: flex;
gap: 20px;
align-items: center;
}
.bt {
font-size: 20px;
font-weight: 500px;
padding: 5px;
margin-left: 10px;
background-color: #0b7285;
color: white;
border-radius: 4px;
}
.bt5 {
margin-left: auto;
margin-right: 10px;
background-color: red;
}
.first {
border: 2px solid black;
background-color: #dee2e6;
display: flex;
flex-direction: column;
padding: 10px;
gap: 10px;
grid-template-columns: 1fr;
text-align: center;
overflow-y: scroll;
}
.second {
border: 2px solid black;
padding: 20px;
text-align: center;
font-size: 24px;
font-weight: 500px;
}
.third {
border: 2px solid black;
background-color: #dee2e6;
padding: 20px;
font-size: 24px;
font-weight: 500px;
text-align: center;
}
.email {
padding: 5px;
font-size: 24px;
font-weight: 500px;
color: black;
background-color: #868e96;
height: 100px;
width: 180px;
margin: auto;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
</style>
</head>
<body>
<div class="container">
<nav>nav</nav>
<div class="top">
<button class="bt bt1">New</button>
<button class="bt bt2">Reply</button>
<button class="bt bt3">Forward</button>
<button class="bt bt4">Mark Unread</button>
<button class="bt bt5">Trash</button>
</div>
<div class="first">
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
<div class="email">Email</div>
</div>
<div class="second">Email view</div>
<div class="third">Additional info</div>
</div>
</body>
</html>