guild discovery

This commit is contained in:
TomatoCake 2024-07-01 21:07:43 +02:00
parent 8fe0c9f46b
commit 1ae0f9ec3c
3 changed files with 115 additions and 1 deletions

View file

@ -1241,4 +1241,47 @@ span {
button{
background:green;
}
}
}
#discovery-guild-content {
display: grid;
/*grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));*/
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.discovery-guild {
width: 220px;
height: 175px;
margin: 5px;
padding: 5px;
background-color: var(--discovery-bg);
border-radius: 5px;
box-shadow: 1px 1px 7px var(--primary-text);
overflow: hidden;
cursor: pointer;
}
.discovery-guild .flex {
align-items: center;
}
.discovery-guild img.banner {
width: 128px;
height: 64px;
}
.discovery-guild img.icon {
width: 48px;
height: 48px;
margin-right: 5px;
border-radius: 50%;
transition: border-radius .2s;
}
.discovery-guild img.icon:hover {
border-radius: 30%;
}
.discovery-guild p {
overflow-wrap: anywhere;
max-width: 215px;
}