138 lines
2.5 KiB
CSS
138 lines
2.5 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
* {
|
|
font-family: theme("fontFamily.body");
|
|
color: theme("colors.text");
|
|
}
|
|
|
|
body {
|
|
background-color: theme("colors.background");
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
overflow: auto;
|
|
height: 90vh;
|
|
align-items: flex-start;
|
|
align-content: flex-start;
|
|
}
|
|
|
|
.hosting {
|
|
@apply inline-flex items-center justify-between;
|
|
@apply w-full;
|
|
@apply p-2;
|
|
@apply text-gray-500;
|
|
@apply bg-white;
|
|
@apply border;
|
|
@apply border-gray-200;
|
|
@apply rounded-lg;
|
|
@apply cursor-pointer;
|
|
@apply dark:hover:text-gray-300;
|
|
@apply dark:border-gray-700;
|
|
@apply dark:peer-checked:text-blue-500;
|
|
@apply peer-checked:border-blue-600;
|
|
@apply peer-checked:text-blue-600;
|
|
@apply hover:text-gray-600;
|
|
@apply hover:bg-gray-100;
|
|
@apply dark:text-gray-400;
|
|
@apply dark:bg-gray-800;
|
|
@apply dark:hover:bg-gray-700;
|
|
@apply text-center;
|
|
}
|
|
|
|
.pic-outer {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: transform 1s linear;
|
|
}
|
|
|
|
.pic-inner {
|
|
transition: all 0.2s ease-in-out;
|
|
position: relative;
|
|
}
|
|
|
|
#country {
|
|
background-color: rgba(0, 0, 0, 0.61);
|
|
backdrop-filter: blur(5px);
|
|
padding: 4px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.pic-inner:hover {
|
|
transform: scale(0.99);
|
|
}
|
|
|
|
#info-button {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
.dropbtn {
|
|
color: white;
|
|
border: none;
|
|
padding: 5px;
|
|
min-width: 40px;
|
|
text-align: left;
|
|
}
|
|
|
|
#info-main {
|
|
top: 12.5%;
|
|
min-width: 50%;
|
|
min-height: 75%;
|
|
position: absolute;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(5px);
|
|
overflow: auto;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* The container <div> - needed to position the dropdown content */
|
|
.dropdown {
|
|
position: relative;
|
|
width: 20px;
|
|
}
|
|
|
|
/* Dropdown Content (Hidden by Default) */
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
margin-left: 5px;
|
|
border-radius: 0.25rem;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(5px);
|
|
min-width: 160px;
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Links inside the dropdown */
|
|
.dropdown-content a {
|
|
color: white;
|
|
text-decoration: none;
|
|
display: block;
|
|
}
|
|
.dropdown-content a:last-child {
|
|
border-radius: 0 0 0.25rem 0.25rem;
|
|
}
|
|
.dropdown-content a:first-child {
|
|
border-radius: 0.25rem 0.25rem 0 0;
|
|
}
|
|
|
|
/* Change color of dropdown links on hover */
|
|
.dropdown-content a:hover {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
/* Show the dropdown menu on hover */
|
|
.dropdown:hover .dropdown-content {
|
|
display: block;
|
|
}
|