Best Practices
No edit summary Tags: Reverted 2017 source edit |
No edit summary Tags: Reverted 2017 source edit |
||
Line 4: | Line 4: | ||
.bestpractices-card:hover { | .bestpractices-card:hover { | ||
transform: translateY(-5px); | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |||
} | |||
.mw-parser-output > *:first-child { | .mw-parser-output > *:first-child { | ||
display: none; | |||
} | |||
.header3 { | .header3 { | ||
padding: 2rem 5em; | |||
} | |||
.contentHeader { | .contentHeader { | ||
padding: 5em; | |||
} | |||
.heading { | .heading { | ||
font-size: 2.25em; | |||
} | |||
.grid-container { | .grid-container { | ||
display: grid; | |||
padding: 0 5em; | |||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |||
gap: 20px; | |||
grid-auto-rows: minmax(100px, auto); | |||
} | } | ||
.bestpractices-card { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
height: 100px; | |||
border-radius: 10px; | |||
background: rgba(226, 245, 250, 0.70); | |||
padding: 10px; | |||
text-align: center; | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
} | |||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
.contentHeader { | |||
padding: 2em 1em; | |||
max-width: none; | |||
} | |||
.heading { | .heading { | ||
font-size: 1.5em; | |||
} | |||
.header3 { | .header3 { | ||
padding: 2rem 1em; | |||
} | |||
.bestpractices-card { | .bestpractices-card { | ||
height: auto; | |||
padding: 20px; | |||
} | |||
.bestpractices-card span { | .bestpractices-card span { | ||
font-size: 18px; | |||
} | } | ||
} | |||
</style> | </style> |
Revision as of 07:28, 1 August 2024
This page was created by Edgar on 2023-11-02. Last edited by Edgar on 2025-01-20.
Best practices
BEST PRACTICES
Suggestions and ideas on how to creatively use MDriven tools.