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

Template:Main page/shared/styles.css: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
 
(36 intermediate revisions by 2 users not shown)
Line 30: Line 30:
position: relative;
position: relative;
padding: 1rem;
padding: 1rem;
background: #1e1040; /*rgb(12, 15, 43); var( --color-surface-1 );*/
background: #303f6f; /*rgb(12, 15, 43); var( --color-surface-1 );*/
border-radius: 8px;
border-radius: 8px;
border-width: 0.02rem;
border-width: 0.06rem;
border-style: solid;
border-style: solid;
border-color: rgba(232, 133, 16, 0.75);
border-color: #f8d688;
font-size: 0.875rem;
font-size: 0.875rem;
}
}
Line 64: Line 64:
.home-card__badge,
.home-card__badge,
.home-card__label {
.home-card__label {
color: #ffdf91; /*var( --color-base--subtle );*/
color: white; /*var( --color-base--subtle );*/
font-size: 0.75rem;
font-size: 0.75rem;
letter-spacing: 0.05em;
letter-spacing: 0.05em;
Line 71: Line 71:
.home-card__badge {
.home-card__badge {
padding: 0.25rem 0.5rem;
padding: 0.25rem 0.5rem;
border-radius: 3px;
border-radius: 10px;
background: var( --color-surface-2 );
background: var( --color-surface-2 );
}
}


.home-card__header {
.home-card__header {
color: var( --color-base--emphasized );
color: #ffdf91;
font-size: 1rem;
font-size: 1rem;
font-weight: 600;
font-weight: 600;
Line 135: Line 135:
border-width: 0.02rem;
border-width: 0.02rem;
border-style: solid;
border-style: solid;
border-color: rgba(232, 133, 16, 0.75);
border-color: #f8d688;
pointer-events: none;
}
}


Line 157: Line 158:
margin-top: 0.5rem;
margin-top: 0.5rem;
font-size: 0.875rem;
font-size: 0.875rem;
}

.home-button{
display: flex;
justify-content: space-around;
gap:10px;
flex-direction: row;
overflow: hidden;
padding: 0;
border: 0;
}

.home-button-item{
cursor: pointer;
display: flex;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 1rem;
background: transparent;
color: #fff;
font-weight: 500;
}

.button-item {
padding: 1px 1px;
transition: transform 0.2s ease, background-color 0.3s ease;
}

.button-item:hover {
transform: scale( 1.1 );
}

.home-button__foreground {
text-align: center;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
padding: 1rem;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
gap: 0.25rem;
color: #f8d688;
line-height: 1.25rem;
border-radius: 8px;
border-width: 0.02rem;
border-style: solid;
}
}


Line 204: Line 256:
flex-grow: 1;
flex-grow: 1;
padding: 0.5rem;
padding: 0.5rem;
border: 1px solid rgba( 0, 0, 0, 0.08 );
border: 1px solid rgba( 0, 0, 0, 0.6 );
background: #100822; /*rgb(31 17 63); /*var( --color-surface-2 ); */
background: #476cc2; /*rgb(31 17 63); /*var( --color-surface-2 ); */
border-radius: 8px;
border-radius: 8px;
border-color: #f8d688;
color: #ffdf91; /* var( --color-base--emphasized ) !important; */
color: #fff !important; /* var( --color-base--emphasized ) !important; */
line-height: 1.25rem;
line-height: 1.25rem;
text-decoration: none !important;
text-decoration: none !important;
Line 213: Line 266:


.home-link__button a:hover {
.home-link__button a:hover {
background: var( --color-surface-2--hover );
background: #476cc2;
color: #f8d688 !important;
}
}


.home-link__button a:active {
.home-link__button a:active {
background: var( --color-surface-2--active );
background: #fa8803;
}
}



Latest revision as of 20:42, 16 January 2025

.home-grid {
	display: grid;
	grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
	grid-auto-rows: minmax( 3rem, auto );
	grid-gap: 0.5rem;
}

.home-grid--col2 {
	grid-template-columns: 1fr 1fr;
}

.home-grid a.external {
	background-image: none;
}

.home-badge {
	display: flex;
    gap: 0.25rem;
	font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--color-surface-2);
    color: var(--color-base);
    border-radius: 3px;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.25rem;
}

.home-card {
	position: relative;
	padding: 1rem;
	background: #303f6f; /*rgb(12, 15, 43);  var( --color-surface-1 );*/
	border-radius: 8px;
	border-width: 0.06rem;
	border-style: solid;
	border-color: #f8d688;
	font-size: 0.875rem;
}

.home-card table.timeline {
	margin-top: 0.5rem;
}

.home-card--col2 {
	grid-column: span 2;
}

.home-card--col4 {   /* addition */
	grid-column: span 4;
}

.home-card--row3 {
	grid-row: span 3;
}

.home-card--row4 {
	grid-row: span 4;
}

.home-card--row8 {
	grid-row: span 8 / auto;
}

.home-card__badge,
.home-card__label {
	color: white; /*var( --color-base--subtle );*/
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}

.home-card__badge {
	padding: 0.25rem 0.5rem;
	border-radius: 10px;
	background: var( --color-surface-2 );
}

.home-card__header {
	color: #ffdf91;
	font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
}

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

.home-card__header a:after {
	content: '▶';
	font-size: 0.75rem;
}

.home-card__background {
	position: absolute;
	inset: 0;
}

.home-card__background:after {
	position: absolute;
	pointer-events: none;
	inset: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
    transition: transform 250ms ease;
}

.home-card__background picture,
.home-card__background img {
	width: 100%;
	height: 100%;
}

.home-card__background img {
	object-fit: cover;
	object-position: center;
}

.home-card__foreground {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.25rem;
	color: #fff;
	line-height: 1.25rem;
	border-radius: 8px;
	border-width: 0.02rem;
	border-style: solid;
    border-color: #f8d688;
    pointer-events: none;
}

.home-card__foreground .home-card__badge {
	position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}

.home-card__foreground .home-card__header {
	color: #fff;
}

.home-card__foreground .home-card__label {
	color: #bababa;
}

.home-card p {
	margin-top: 0.5rem;
	font-size: 0.875rem;
}

.home-button{
	display: flex;
	justify-content: space-around;
	gap:10px;
	flex-direction: row;
	overflow: hidden;
	padding: 0;
	border: 0;
}

.home-button-item{
	cursor: pointer;
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
	background: transparent;
	color: #fff;
	font-weight: 500;
}

.button-item {
    padding: 1px 1px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.button-item:hover {
	transform: scale( 1.1 );
}

.home-button__foreground {
	text-align: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	gap: 0.25rem;
	color: #f8d688;
	line-height: 1.25rem;
	border-radius: 8px;
	border-width: 0.02rem;
	border-style: solid;
}

.home-card.home-card--button {
	overflow: hidden;
	padding: 0;
	border: 0;
}

.home-card--button a {
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
	background: transparent;
	color: #fff;
	font-weight: 500;
}

.home-card--button .home-card__background a {
	padding: 0; 
}

.home-card--button img {
	transition: transform 250ms ease;
}

.home-card--button:hover img {
	transform: scale( 1.1 );
}

.home-link {
	display: grid;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	grid-gap: 0.5rem;
	text-align: center;
}

.home-link__button {
	display: flex;
}

.home-link__button a {
	flex-grow: 1;
	padding: 0.5rem;
	border: 1px solid rgba( 0, 0, 0, 0.6 );
	background: #476cc2; /*rgb(31 17 63); /*var( --color-surface-2 ); */
	border-radius: 8px;
	border-color: #f8d688;
	color: #fff !important; /* var( --color-base--emphasized ) !important; */
    line-height: 1.25rem;
    text-decoration: none !important;
}

.home-link__button a:hover {
	background: #476cc2;
	color: #f8d688 !important;
}

.home-link__button a:active {
	background: #fa8803;
}

#home-content {
	margin-top: 1.25rem;
}

.home-card .template-statsbar {
	margin: 0;
}

#home-card-discord {
	background: #5865f2;
}

#home-card-patreon {
	background: #ff424d;
}

#home-card-kofi {
	background: #ff5e5b;
}

#home-card-reddit {
	background: #ff4500;
}

.home-footer {
	font-size: 0.875rem;
	font-family: monospace;
	text-align: center;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies. We only use cookie to make the site function and save your preferences, nothing else.