-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcountry.css
108 lines (93 loc) · 1.34 KB
/
country.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
margin: 0;
padding: 0;
}
body {
text-align: center;
background: #aaa;
}
a {
text-decoration: none;
}
.header {
background-color: #ddd;
padding: 10px;
width: calc(100% - 20px);
margin-bottom: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}
.header span:first-child {
text-align: center;
font-weight: bold;
text-transform: uppercase;
font-size: 30px;
}
img {
width: calc(100% - 10px);
margin: 5px;
border-radius: 8px;
}
h1, h2 {
text-align: left;
}
.main, .sidebar {
border-radius: 8px;
margin: 5px;
display: block;
width: calc(100% - 30px);
padding: 10px;
}
.main {
background: #eee;
}
.sidebar {
background: #eee;
}
table {
width: 100%;
border-collapse: collapse;
border-radius: 5px;
}
table td, table th {
border: 2px solid;
}
p {
text-align: left;
}
a.active {
background: yellow;
padding: 10px;
color: black;
border-radius: 8888px;
}
#links a {
display: block;
margin: 10px;
}
.card {
background: #ccc;
color: #111;
margin: 15px 5px;
padding: 5px;
border-radius: 10px;
}
@media (min-width: 768px) {
#links a {
display: inline-block;
margin: 0 10px;
}
.main, .sidebar {
display: inline-block;
margin: 5px;
}
.main {
width: 58%;
margin-right: 0;
}
.sidebar {
width: 35%;
vertical-align: top;
}
}