DmitrMakeev commited on
Commit
edd60b1
·
verified ·
1 Parent(s): 1d8ea83

Update contacts.html

Browse files
Files changed (1) hide show
  1. contacts.html +16 -2
contacts.html CHANGED
@@ -5,17 +5,31 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
  <title>Contacts</title>
7
  <style>
 
 
 
 
 
 
 
 
8
  table {
9
  width: 70%;
10
  border-collapse: collapse;
 
11
  }
12
  th, td {
13
- border: 1px solid black;
14
  padding: 8px;
15
  text-align: left;
16
  }
17
  th {
18
- background-color: #f2f2f2;
 
 
 
 
 
19
  }
20
  </style>
21
  </head>
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
  <title>Contacts</title>
7
  <style>
8
+ body {
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+ height: 100vh;
13
+ margin: 0;
14
+ background-color: #4CAF50; /* Зеленоватый фон */
15
+ }
16
  table {
17
  width: 70%;
18
  border-collapse: collapse;
19
+ border: 2px solid #2E7D32; /* Темно-зеленая рамка */
20
  }
21
  th, td {
22
+ border: 1px solid #2E7D32; /* Темно-зеленая рамка для ячеек */
23
  padding: 8px;
24
  text-align: left;
25
  }
26
  th {
27
+ background-color: #81C784; /* Светло-зеленый фон для заголовков */
28
+ color: black; /* Черные надписи */
29
+ }
30
+ td {
31
+ background-color: white; /* Белый фон для ячеек */
32
+ color: black; /* Черные надписи */
33
  }
34
  </style>
35
  </head>