Stirling-PDF/src/main/resources/static/css/home.css

94 lines
2 KiB
CSS
Raw Normal View History

2023-10-30 08:29:55 +01:00
#searchBar {
2023-12-28 14:50:31 +01:00
background-image: url('../images/search.svg');
2023-10-30 08:29:55 +01:00
background-position: 16px 16px;
background-repeat: no-repeat;
width: 100%;
font-size: 16px;
2023-07-05 23:21:43 +02:00
margin-bottom: 12px;
2023-10-30 08:29:55 +01:00
padding: 12px 20px 12px 40px;
2023-07-05 23:21:43 +02:00
border: 1px solid #ddd;
2023-10-30 08:29:55 +01:00
2023-07-05 23:21:43 +02:00
}
2023-10-30 08:29:55 +01:00
.dark-mode-search {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' hei… 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") !important;
color: #f8f9fa !important;
background-color: #212529 !important;
border-color: #343a40 !important;
}
2023-07-05 23:21:43 +02:00
2023-06-02 00:12:55 +02:00
.features-container {
display: grid;
2023-08-20 22:57:19 +02:00
grid-template-columns: repeat(auto-fill, minmax(15rem, 3fr));
2023-06-02 00:12:55 +02:00
gap: 25px 30px;
}
.feature-card {
border: 2px solid rgba(0, 0, 0, .25);
border-radius: 0.25rem;
padding: 1.25rem;
display: flex;
flex-direction: column;
align-items: flex-start;
2023-10-30 08:29:55 +01:00
background: rgba(13, 110, 253, 0.05);
2023-06-02 00:12:55 +02:00
transition: transform 0.3s, border 0.3s;
2023-08-23 00:44:38 +02:00
transform-origin: center center;
2023-10-30 08:29:55 +01:00
outline: 2px solid transparent;
2023-06-02 00:12:55 +02:00
}
.feature-card a {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.feature-card .card-text {
flex: 1;
}
.feature-card:hover {
2023-08-23 00:44:38 +02:00
outline: 1px solid rgba(0, 0, 0, .5);
2023-06-02 00:12:55 +02:00
cursor: pointer;
transform: scale(1.1);
}
.feature-card:hover .card-title {
text-decoration: underline;
}
.card-title.text-primary {
color: #000; /* Replace with your desired shade of blue */
}
.home-card-icon {
width: 30px;
height: 30px;
transform: translateY(-5px);
}
.home-card-icon-colour {
filter: invert(0.2) sepia(2) saturate(50) hue-rotate(190deg);
}
.favorite-icon {
display: none;
position: absolute;
top: 10px;
right: 10px;
}
/* Only show the favorite icons when the parent card is being hovered over */
.feature-card:hover .favorite-icon {
display: block;
}
.favorite-icon img {
filter: brightness(0);
}
.jumbotron {
padding: 3rem 3rem; /* Reduce vertical padding */
}