forked from Ratan5545/Hospital_management_system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NurseData.css
94 lines (77 loc) · 1.2 KB
/
NurseData.css
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
/* reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* basic page styles */
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1.5;
}
header {
background-color: #0071C5;
color: #fff;
padding: 20px;
text-align: center;
}
h1 {
font-size: 2.5em;
font-weight: bold;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
section {
margin-bottom: 40px;
}
h2 {
font-size: 1.5em;
font-weight: bold;
margin-bottom: 20px;
}
ul {
list-style-type: disc;
margin-left: 20px;
}
table {
border-collapse: collapse;
width: 100%;
}
th, td {
padding: 10px;
text-align: left;
}
th {
background-color: #0071C5;
color: #fff;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
@media (max-width: 767px) {
h1 {
font-size: 2em;
}
ul {
margin-left: 0;
}
th, td {
display: block;
text-align: center;
}
th {
background-color: transparent;
color: #000;
border: none;
}
tr {
border-bottom: 2px solid #ddd;
}
tr:last-child {
border-bottom: none;
}
}