Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

130 lines
2.4 KiB
CSS
Raw Normal View History

2023-10-30 18:29:55 +11:00
#searchBar {
color: var(--md-sys-color-on-surface);
background-color: var(--md-sys-color-surface-container-low);
width: 100%;
font-size: 16px;
margin-bottom: 2rem;
padding: 0.75rem 3.5rem;
border: 0.1rem solid var(--md-sys-color-outline-variant);
border-radius: 3rem;
outline-color: var(--md-sys-color-outline-variant);
2023-07-05 22:21:43 +01:00
}
.search-icon {
position: absolute;
margin: 0.75rem 1rem;
border: 0.1rem solid transparent;
}
2023-07-05 22:21:43 +01:00
2023-06-01 23:12:55 +01:00
.features-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(15rem, 3fr));
gap: 25px 30px;
2023-06-01 23:12:55 +01:00
}
.feature-card {
border: 2px solid var(--md-sys-color-surface-5);
border-radius: 2rem;
padding: 1.25rem;
display: flex;
flex-direction: column;
align-items: flex-start;
background: var(--md-sys-color-surface-5);
transition:
transform 0.3s,
border 0.3s;
transform-origin: center center;
outline: 0px solid transparent;
2023-06-01 23:12:55 +01:00
}
.feature-card a {
text-decoration: none;
color: var(--md-sys-color-on-surface);
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
2023-06-01 23:12:55 +01:00
}
.feature-card .card-text {
flex: 1;
margin-left: 3.5rem;
2023-06-01 23:12:55 +01:00
}
.feature-card:hover {
cursor: pointer;
transform: scale(1.1);
box-shadow: var(--md-sys-elevation-3);
2023-06-01 23:12:55 +01:00
}
.card-title.text-primary {
color: #000;
2023-06-01 23:12:55 +01:00
}
.home-card-icon {
width: 3rem;
height: 3rem;
transform: translateY(-5px);
2023-06-01 23:12:55 +01:00
}
.favorite-icon {
display: none;
position: absolute;
top: 10px;
right: 10px;
color: var(--md-sys-color-secondary);
2023-06-01 23:12:55 +01:00
}
/* Only show the favorite icons when the parent card is being hovered over */
.feature-card:hover .favorite-icon {
display: block;
2023-06-01 23:12:55 +01:00
}
2023-06-01 23:12:55 +01:00
.favorite-icon img {
filter: brightness(0) invert(var(--md-theme-filter-color));
2023-06-01 23:12:55 +01:00
}
.jumbotron {
padding: 3rem 3rem;
/* Reduce vertical padding */
2023-06-01 23:12:55 +01:00
}
2024-05-05 20:28:25 +01:00
.lookatme {
opacity: 1;
position: relative;
display: inline-block;
}
.lookatme::after {
color: #e33100;
text-shadow: 0 0 5px #e33100;
/* in the html, the data-lookatme-text attribute must */
/* contain the same text as the .lookatme element */
content: attr(data-lookatme-text);
padding: inherit;
position: absolute;
inset: 0 0 0 0;
z-index: 1;
/* 20 steps / 2 seconds = 10fps */
-webkit-animation: 2s infinite Pulse steps(20);
animation: 2s infinite Pulse steps(20);
}
@keyframes Pulse {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
2024-05-05 20:28:25 +01:00