Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/NavigationServers/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
.home-card_server.home-card_server--button {
.profile-iconbox {
  overflow: hidden;
position: relative;
  padding: 0;
background: var( --color-surface-1 );
  background: #242a31;
border-radius: 8px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
font-size: 0.875rem;
overflow: hidden;
    width: fit-content;
    display: inline-block;
    margin: 0.312rem;
    min-width: 225px;
}
}
.home-card_server {
.profile-iconbox .profile-iconbox__img a {
  position: relative;
display: block;
  padding: 15px;
height: 100%;
  background: var(--color-surface-1);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
}
}


#home-server-nav-Survival .home-card_server__background::after {
.profile-iconbox .profile-iconbox__img:after {
  position: absolute;
position: absolute;
  pointer-events: none;
pointer-events: none;
  top: 0;
right: 0;
  right: 0;
bottom: 0;
  bottom: 0;
left: 0;
  left: 0;
display: block;
  display: block;
height: 60%;
  background: linear-gradient(to right,rgba(0,0,0,0.8),transparent);
background: linear-gradient( to top, #000, transparent );
  content: "";
border-radius: 0 0 8px 8px;
content: '';
}
}
#home-server-nav-Survival .home-card_server__background {
 
   position: absolute;
.profile-iconbox__img img {
  top: 0;
   transition: transform 250ms cubic-bezier(0.215,0.61,0.355,1);
   right: 0;
}
   bottom: 0;
 
  left: 0;
.profile-iconbox__img img:hover {
  background: #242a31;
   transform: scale(1.1);
  border-radius: 8px;
   transition: transform 250ms cubic-bezier(0.215,0.61,0.355,1);
}
 
.profile-iconbox__foreground {
position: absolute;
}
 
.profile-iconbox__foreground .profile-iconbox__label {
color: #bababa;
}
}


#home-server-nav-Survival .home-card_server__foreground {
.profile-iconbox__foreground .profile-iconbox__header {
  pointer-events: none;
color: #fff;
  height: 100%;
}
  width: 100%;
.profile-iconbox .profile-iconbox__foreground {
  display: flex;
pointer-events: none;
  align-items: center;
right: 15px;
  padding: 0 15px;
bottom: 15px;
  color: #fff;
left: 15px;
  font-weight: bold;
}
.home-card__foreground .profile-iconbox__label {
color: #bababa;
}
.profile-iconbox__label {
color: var( --color-base--subtle );
font-size: 0.8125rem;
letter-spacing: 0.75px;
}
}
.home-card_server__foreground {
h3.profile-iconbox__header {
  position: absolute;
margin-top: 0;
font-size: 1rem;
}
 
.profile-iconbox__header a {
display: flex;
align-items: center;
justify-content: space-between;
}
 
.profile-iconbox__header a:after {
content: '▶';
font-size: 0.8125rem;
}
}

Revision as of 18:33, 27 July 2023

.profile-iconbox {
	position: relative;
	background: var( --color-surface-1 );
	border-radius: 8px;
	box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
	font-size: 0.875rem;
	overflow: hidden;
    width: fit-content;
    display: inline-block;
    margin: 0.312rem;
    min-width: 225px;
}
.profile-iconbox .profile-iconbox__img a {
	display: block;
	height: 100%;
}

.profile-iconbox .profile-iconbox__img:after {
	position: absolute;
	pointer-events: none;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	height: 60%;
	background: linear-gradient( to top, #000, transparent );
	border-radius: 0 0 8px 8px;
	content: '';
}

.profile-iconbox__img img {
  transition: transform 250ms cubic-bezier(0.215,0.61,0.355,1);
}

.profile-iconbox__img img:hover {
  transform: scale(1.1);
  transition: transform 250ms cubic-bezier(0.215,0.61,0.355,1);
}

.profile-iconbox__foreground {
	position: absolute;
}

.profile-iconbox__foreground .profile-iconbox__label {
	color: #bababa;
}

.profile-iconbox__foreground .profile-iconbox__header {
	color: #fff;
}
.profile-iconbox .profile-iconbox__foreground {
	pointer-events: none;
	right: 15px;
	bottom: 15px;
	left: 15px;
}
.home-card__foreground .profile-iconbox__label {
	color: #bababa;
}
.profile-iconbox__label {
	color: var( --color-base--subtle );
	font-size: 0.8125rem;
	letter-spacing: 0.75px;
}
h3.profile-iconbox__header {
	margin-top: 0;
	font-size: 1rem;
}

.profile-iconbox__header a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.profile-iconbox__header a:after {
	content: '▶';
	font-size: 0.8125rem;
}