-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathstyle.css
132 lines (121 loc) · 2.44 KB
/
style.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
body {
margin: 20px;
font-family: 'Roboto', sans-serif;
}
header {
text-align: center;
}
#mentorsMap {
height: calc(100vh - 40px);
}
.leaflet-popup-content {
align-items: center;
display: flex;
margin: 10px;
max-width: 200px;
}
.leaflet-popup-content span {
display: block;
}
.leaflet-popup-content .avatar {
background-image: url(img/icon_48.png);
background-size: cover;
height: 64px;
margin-right: 10px;
width: 64px;
}
#searchQuery {
border: 1px solid #ddd;
display: block;
font-size: 16px;
padding: 12px 40px;
margin-top: 12px;
margin-bottom: 12px;
width: calc(100% - 80px);
}
#tableHolder{
height: 500px;
overflow-y: auto;
}
#tableHolder table {
border-collapse: collapse;
width: 100%;
border: 1px solid #ddd;
font-size: 18px;
}
#tableHolder table th, #tableHolder table td {
text-align: left;
padding: 12px;
}
#tableHolder table tr {
border-bottom: 1px solid #ddd;
}
#tableHolder table tr.header, #tableHolder table tr:hover {
background-color: #f1f1f1;
}
#forkongithub a {
display: none;
background: #000;
color: #fff;
text-decoration: none;
font-family: arial, sans-serif;
text-align: center;
font-weight: bold;
padding: 5px 40px;
font-size: 1rem;
line-height: 2rem;
position: relative;
transition: 0.5s;
}
#forkongithub a:hover {
background: #c11;
color: #fff;
}
#forkongithub a::before,
#forkongithub a::after {
content: "";
width: 100%;
display: block;
position: absolute;
top: 1px;
left: 0;
height: 1px;
background: #fff;
}
#forkongithub a::after {
bottom: 1px;
top: auto;
}
/* mobile first \o/ */
@media screen and (min-width: 376px) {
.leaflet-popup-content {
min-width: 350px;
}
}
@media screen and (min-width: 800px) {
#forkongithub {
position: absolute;
display: block;
top: 0;
right: 0;
width: 200px;
overflow: hidden;
height: 200px;
z-index: 9999;
}
#forkongithub a {
display: block;
width: 150px;
position: absolute;
top: 30px;
right: -40px;
font-size: 12px;
padding: 0 10px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
}
}