-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar.html
More file actions
82 lines (75 loc) · 1.71 KB
/
calendar.html
File metadata and controls
82 lines (75 loc) · 1.71 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Calendar</title>
<style>
body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
align-content: flex-start;
flex-wrap: nowrap;
}
.container {
display: flex;
flex-wrap: wrap;
align-content: center;
justify-content: center;
}
.month {
display: inline-table;
margin: 0px 10px 10px 0px;
font-size: 18px;
}
.header {
background-color: #999393;
}
.marked {
background-color: #383838;
color: #e0dede;
}
.week > td {
padding: 10px;
font-size: 24px;
font-weight: 700;
}
.year-header {
display: inline;
font-size: 24px;
text-align: center;
font-weight: 800;
}
.month {
text-align: center;
}
</style>
</head>
<body>
<p class="year-header">Календарь смен на {} год</p>
<div class="container">
<table class="month" border="1">
<th colspan="7" class="header">Месяц ГОД</th>
<tr class="days">
<td>Пн</td>
<td>Вт</td>
<td>Ср</td>
<td>Чт</td>
<td>Пт</td>
<td>Сб</td>
<td>Вс</td>
<tr class="week">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</body>
</html>