fediversity.eu/assets/scss/custom.scss

153 lines
2.3 KiB
SCSS
Raw Normal View History

2024-03-26 16:28:28 +01:00
// Add your own custom styles here
2024-04-23 16:11:39 +02:00
.grid-container {
display: flex;
justify-content: space-between;
}
.column {
flex-basis: calc(50% - 10px); /* Adjust width as necessary */
}
.list {
list-style-type: none;
padding: 0;
}
.list-item {
margin-bottom: 10px;
}
.link {
text-decoration: none;
color: inherit;
}
.title {
font-weight: bold;
}
.hr-list {
border: 0;
border-top: 1px solid #ccc;
margin-top: 5px;
margin-bottom: 5px;
}
.list-item {
display: flex;
justify-content: space-between;
align-items: center;
}
.content {
flex: 1;
}
.link {
text-align: left;
}
.time {
text-align: right;
}
2024-05-01 13:06:43 +02:00
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.grid-item {
padding: 20px;
}
2024-05-01 13:12:55 +02:00
.header-with-image {
display: flex;
2024-05-13 16:36:08 +02:00
align-items: flex-start;
2024-05-01 13:12:55 +02:00
}
.header-with-image img {
margin-right: 10px;
max-width: 100px; /* Adjust as needed */
max-height: 100px; /* Adjust as needed */
2024-05-13 16:36:08 +02:00
align-items: center;
2024-05-01 16:45:28 +02:00
}
.read-more-link {
color: #FF6E00; /* Use the variable defined in theme.json */
}
2024-05-06 17:53:11 +02:00
.center-wrapper {
display: flex;
justify-content: center;
align-items: center;
2024-05-08 09:46:15 +02:00
2024-05-06 17:53:11 +02:00
}
.grid-container-small {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
2024-05-08 09:46:15 +02:00
.hr-list {
margin-top: 0;
margin-bottom: 0;
margin-right: .5rem;
}
.center-layout {
display: flex;
justify-content: center;
2024-05-08 15:44:32 +02:00
}
.hr-list2 {
border: 20;
border-top: 1px solid #FF6E00;
margin-top: 5px;
margin-bottom: 5px;
}
.header-with-image2 {
text-align: center;
}
.header-with-image2 img {
display: inline-block;
}
.line {
border-top: 1px solid #FF6E00; /* Change color and thickness as needed */
margin: 10px 0; /* Adjust spacing between the line and the divs */
2024-10-14 16:44:36 +02:00
}
@media (max-width: 600px) {
.grid-container {
grid-template-columns: repeat(1, 1fr);
}
.grid-item {
padding: 0;
.header-with-image2 {
text-align: start;
}
}
.grid-container-small {
grid-template-columns: repeat(1, 1fr);
}
.header-with-image2 {
svg {
width: 48px;
height: 48px;
margin: 0 0 8px 0;
}
}
}