mirror of
https://github.com/NovaOSS/nova-web.git
synced 2024-11-25 22:23:57 +01:00
100 lines
2.1 KiB
CSS
100 lines
2.1 KiB
CSS
@charset "UTF-8";
|
|
header {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
font-size: 40px;
|
|
margin-bottom: 15rem;
|
|
}
|
|
header h1 {
|
|
line-height: 4rem;
|
|
}
|
|
|
|
div.featured__facts {
|
|
padding: 1.5rem;
|
|
margin-block: 2rem;
|
|
display: flex;
|
|
vertical-align: middle;
|
|
transition: all 200ms;
|
|
}
|
|
div.featured__facts:hover {
|
|
scale: 1.025;
|
|
filter: brightness(1.1) saturate(1.1);
|
|
box-shadow: 0 0 30px rgba(104, 58, 150, 0.2196078431);
|
|
}
|
|
div.featured__facts img, div.featured__facts svg {
|
|
width: 50px;
|
|
height: 50px;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
div.featured__facts h2 {
|
|
vertical-align: middle;
|
|
margin-block: auto;
|
|
margin-left: 1rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
div.featured__facts h2 span {
|
|
color: #b88df0;
|
|
}
|
|
|
|
div.user-quotes div.user-quote__field {
|
|
padding: 1.5rem;
|
|
cursor: pointer;
|
|
margin-block: 2rem;
|
|
background: rgba(204, 154, 247, 0.1411764706);
|
|
border: 2px solid rgba(104, 58, 150, 0.2196078431);
|
|
border-radius: 5px;
|
|
position: relative;
|
|
transition: all 200ms;
|
|
box-shadow: 0 0 30px transparent;
|
|
min-height: 200px;
|
|
}
|
|
div.user-quotes div.user-quote__field:hover {
|
|
scale: 1.025;
|
|
filter: brightness(1.1) saturate(1.1);
|
|
box-shadow: 0 0 30px rgba(104, 58, 150, 0.2196078431);
|
|
}
|
|
div.user-quotes div.user-quote__field::before {
|
|
font-family: "Times New Roman", Times, serif;
|
|
content: "“";
|
|
font-size: 150px;
|
|
color: rgba(204, 154, 247, 0.1411764706);
|
|
position: absolute;
|
|
bottom: -1rem;
|
|
left: 1rem;
|
|
transform: rotate(180deg);
|
|
}
|
|
div.user-quotes div.user-quote__field img {
|
|
cursor: pointer;
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
border: 3px solid rgba(104, 58, 150, 0.2196078431);
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
-o-object-fit: scale-down;
|
|
object-fit: scale-down;
|
|
}
|
|
div.user-quotes div.user-quote__field span.user-quote__username {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #b88df0;
|
|
}
|
|
div.user-quotes div.user-quote__field p {
|
|
margin-block: 0;
|
|
font-size: 1.5rem;
|
|
padding-right: 7rem;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
header {
|
|
font-size: 26px;
|
|
}
|
|
header h1 {
|
|
line-height: 3rem;
|
|
}
|
|
header h3 {
|
|
font-size: 28px;
|
|
}
|
|
}/*# sourceMappingURL=home.css.map */ |