Predefinição:Cards/styles.css

De Instituto da Guerra
< Predefinição:Cards
Revisão de 20h52min de 28 de novembro de 2024 por Luke Nitole (discussão | contribs) (Criou página com ' .home-header { margin-top: 2rem; margin-bottom: 2rem; padding-top: 2rem; } .header-rune { margin-top: 2rem; margin-bottom: 2rem; padding-top: 1rem; } .home-header__title { margin-top: 0; font-size: 1.5rem; } .home-header .home-header__subtitle { margin-top: 0.4rem; color: var(--color-base--subtle); font-size: 0.875rem; } .home-header__search { max-width: 600px; padding: 0.6rem 0.8rem; margin: 0.8rem auto 0 auto; background: var(--color-surface-1); bo...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)

.home-header {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding-top: 2rem;
}

.header-rune {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding-top: 1rem;
}

.home-header__title {
	margin-top: 0;
	font-size: 1.5rem;
}

.home-header .home-header__subtitle {
	margin-top: 0.4rem;
	color: var(--color-base--subtle);
	font-size: 0.875rem;
}

.home-header__search {
	max-width: 600px;
	padding: 0.6rem 0.8rem;
	margin: 0.8rem auto 0 auto;
	background: var(--color-surface-1);
	border-radius: 100px;
	box-shadow: var(--box-shadow-cartao);
	color: var(--color-base--subtle);
	cursor: pointer;
	font-size: 0.875rem;
}

.home-header__searchIcon img {
	margin-right: 0.5rem;
	opacity: var(--opacity-icon-base);
}

.keyboard-text {
	padding: 0 5px;
	border: 1px solid;
	margin: 0 2px;
	border-radius: 4px;
}

html.skin-citizen-dark .home-header__searchIcon img {
	filter: invert(1);
}

@media (min-width: 682px) {
	.home-header {
		text-align: center;
	}
}

@media (hover: none) {
	.desktoponly {
		display: none;
	}
}

/*Header Main Page*/

.home-header {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
	background-image: url(https://wiki.institutodaguerra.com/images/7/70/Pg_Inicial.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.home-header__title {
	margin-top: 0;
	font-size: 1.5rem;
	text-align: center;
}

.home-header .home-header__subtitle {
	margin-top: 0.4rem;
	color: var(--color-base--subtle);
	font-size: 0.875rem;
}

.home-header-box {
	max-width: 600px;
	margin: 0.8rem auto 0 auto;
	background: var(--color-surface-1);
	border-radius: 50px;
	box-shadow: var(--box-shadow-cartao);
	color: var(--color-base--subtle);
}


.home-header__search {
	max-width: 450px;
	padding: 0.6rem 0.8rem;
	margin: 0.8rem auto 0 auto;
	background: var(--color-surface-1);
	border-radius: 100px;
	box-shadow: var(--box-shadow-cartao);
	color: var(--color-base--subtle);
	cursor: pointer;
	font-size: 0.875rem;
}

@media screen and (max-width: 600px) {
	.home-header__search {
		visibility: hidden;
		display: none;
	}

	.home-header__title {
		margin-top: 0;
		font-size: 1rem;
		text-align: center;
	}

	.home-header .home-header__subtitle {
		margin-top: 0.4rem;
		color: var(--color-base--subtle);
		font-size: 0.75rem;
	}

	.home-header {
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}
}

.home-header__searchIcon img {
	margin-right: 0.5rem;
	opacity: var(--opacity-icon-base);
}

.keyboard-text {
	padding: 0 5px;
	border: 1px solid;
	margin: 0 2px;
	border-radius: 4px;
}

html.skin-citizen-dark .home-header__searchIcon img {
	filter: invert(1);
}

@media (min-width: 682px) {
	.home-header {
		text-align: center;
	}
}

@media (hover: none) {
	.desktoponly {
		display: none;
	}
}
.home-footer {
	font-size: 0.8125rem;
	font-family: monospace;
	text-align: center;
}

#home-nav {
	margin-top: 1rem;
}

#home-nav .home-cartao__background:after {
	position: absolute;
	pointer-events: none;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	background: linear-gradient(to right, #000, transparent);
	content: "";
}

#home-nav .home-cartao__foreground {
	pointer-events: none;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 0 15px;
	color: #fff;
	font-weight: 500;
}

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

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

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

.home-cartao {
	position: relative;
	padding: 15px;
	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;
}

.home-cartao table.timeline {
	margin-top: 0.2rem;
}

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

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

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

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

.home-cartao__label {
	color: var(--color-base--subtle);
	font-size: 0.8125rem;
	letter-spacing: 0.75px;
}

h3.home-cartao__header {
	margin-top: 0;
	font-size: 1rem;
}

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

.home-cartao__header a:after {
	content: '▶';
	font-size: 0.8125rem;
}

.home-cartao__background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #242a31;
	border-radius: 8px;
}

.home-cartao__background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-cartao__foreground {
	position: absolute;
}

.home-cartao__foreground .home-cartao__label {
	color: #bababa;
}

.home-cartao__foreground .home-cartao__header {
	color: #fff;
}

.home-cartao p {
	margin-top: 0.2rem;
	font-size: 0.875rem;
}

.home-cartao.home-cartao--button {
	overflow: hidden;
	padding: 0;
	background: #242a31;
}

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

.home-cartao--button .home-cartao__background a {
	padding: 0;
}

.home-cartao--button img {
	transition: transform 0.2s ease;
}

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

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

.home-link__button {
	display: flex;
}

.home-link__button a {
	flex-grow: 1;
	padding: 0.3rem 0.6rem;
	border: 1px solid;
	border-color: var(--border-color-base);
	background: var(--background-color-framed);
	border-radius: 12px;
	/*color: var(--color-base--emphasized);*/
}

.home-link__button a:hover {
	background: var(--background-color-framed--hover);
}

.home-link__button a:active {
	background: var(--background-color-framed--active);
}

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

.home-stats {
	flex-grow: 1;
	line-height: 1;
}

.home-stats__value {
	font-size: 1.5rem;
	font-weight: 600;
}

.home-stats__unit {
	margin-top: 0.2rem;
	color: var(--color-base--subtle);
	font-size: 0.8125rem;
}

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

#home-cartao-drive {
	background: #fff;
}

#home-cartao-apoio {
	background: #FF5733;
}

#home-cartao-apoio {
	background: #fff;
}

#home-cartao-twitter {
	background: #fff;
}