Files
applications/homer/assets/custom.css

209 lines
5.7 KiB
CSS
Executable File

@charset "UTF-8";
/* raleway-regular - latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 400;
src: url('./fonts/raleway-v22-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/raleway-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/raleway-v22-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/raleway-v22-latin-regular.woff') format('woff'), /* Modern Browsers */
url('./fonts/raleway-v22-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/raleway-v22-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* lato-regular - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url('./fonts/lato-v20-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/lato-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/lato-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/lato-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
url('./fonts/lato-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/lato-v20-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: url('./fonts/lato-v20-latin-700.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/lato-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/lato-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/lato-v20-latin-700.woff') format('woff'), /* Modern Browsers */
url('./fonts/lato-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/lato-v20-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-900 - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 900;
src: url('./fonts/lato-v20-latin-900.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/lato-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/lato-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/lato-v20-latin-900.woff') format('woff'), /* Modern Browsers */
url('./fonts/lato-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/lato-v20-latin-900.svg#Lato') format('svg'); /* Legacy iOS */
}
/* Sets the group title to be a bolder font */
.group-title {
font-family: Lato;
font-weight: 800;
}
/* Changes the card title to be a bolder font */
.title {
font-weight: 700;
}
/* Changes the subtitle to be a bolder font */
.subtitle {
font-weight: 500;
}
/* Adds spacing to the bottom of cards */
body #app .card-content {
margin-bottom: 0.75rem;
}
/*Adds more border radius to the cards */
body .layout-vertical .column div:first-of-type .card {
border-radius: 1rem;
}
body .layout-vertical .card {
border-radius: 1rem;
}
.card {
border-radius: 1rem;
}
body .layout-vertical .column div:last-of-type .card {
border-radius: 1rem;
}
/* Changes Header Opacity */
body #bighead .first-line {
background-color: rgba(0, 0, 0, 0);
}
body #bighead .navbar {
background-color: rgba(0, 0, 0, 0);
}
body .search-bar input {
opacity: 20%;
}
body #bighead .navbar a:focus, body #bighead .navbar a:hover {
background-color: rgba(0, 0, 0, 0);
color: var(--link-hover);
}
/* Blur card backgrounds - Light mode */
.card {
background-color: rgba(248, 247, 245, 0.85) !important;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Dark theme card background */
[data-theme="dark"] .card,
.dark .card {
background-color: rgba(24, 28, 58, 0.75) !important;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
/* Group title styling */
.group-title {
color: var(--text-header) !important;
}
/* Card hover effect */
.card:hover {
transform: translateY(-2px);
transition: transform 0.2s ease;
}
/* Hide theme toggle button only */
.navbar-item[aria-label="Toggle dark mode"] {
display: none !important;
}
/* Prod/Dev 버튼 스타일 */
.prod-dev-buttons {
display: flex;
gap: 0.5rem;
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .prod-dev-buttons,
.dark .prod-dev-buttons {
border-top-color: rgba(255, 255, 255, 0.1);
}
.env-button {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
text-decoration: none;
font-weight: 600;
font-size: 0.875rem;
transition: all 0.2s ease;
border: 2px solid transparent;
}
.prod-button {
background-color: #48c774;
color: white;
}
.prod-button:hover {
background-color: #3ab66d;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(72, 199, 116, 0.3);
}
.dev-button {
background-color: #ffdd57;
color: #363636;
}
.dev-button:hover {
background-color: #ffd83d;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(255, 221, 87, 0.3);
}
.env-button i {
font-size: 0.875rem;
}
/* Production 카드의 기존 링크 비활성화 */
.card[data-has-buttons] > a,
.card[data-has-buttons] .card-content > a {
pointer-events: none;
cursor: default;
}
/* 버튼이 있는 카드의 하단 여백 조정 */
.card:has(.prod-dev-buttons) .card-content {
padding-bottom: 0.5rem;
}