victorwesterlund.com/public/assets/css/components.css
Victor Westerlund 0cd5d11cd8 Squashed commit of the following:
commit 17b429555fceefc9c3500ddee4da8c6902d9674a
Author: Victor Westerlund <victor.vesterlund@gmail.com>
Date:   Tue Dec 28 01:00:11 2021 +0100

    Optimize assets and pages

commit c05e4bb5eabd9ef2b96eccb347cc0399cb6869f8
Author: Victor Westerlund <victor@victorwesterlund.com>
Date:   Tue Dec 14 18:06:52 2021 +0100

    Add noopener link type

    Prevents Spotify from accessing the window object of victorwesterlund.com.
    I think sending the referrer header is fine so noreferrer is not needed

commit cc3cca09ac02cc0bf45204bbe52dcc20ee10a2eb
Author: Victor Westerlund <victor.vesterlund@gmail.com>
Date:   Sun Dec 12 15:56:05 2021 +0100

    Add desktop style

    Added the desktop overrides as media queries for a mobile-first approach. Also added the "more" and "contact" pages.

commit de6f30a7c2525e5bb7a31a55f11a40fc33347f85
Author: Victor Westerlund <victor.vesterlund@gmail.com>
Date:   Sun Dec 12 14:46:21 2021 +0100

    New content and CSS refactor

    Content template for "more" and major CSS refactor
2021-12-28 01:01:26 +01:00

20 lines
No EOL
411 B
CSS

.button {
background-color: rgb(var(--color-contrast));
color: rgb(var(--color-background));
padding: var(--padding) calc(var(--padding) * 2);
}
/* -- Media Queries -- */
@media (pointer: fine) {
.button {
cursor: pointer;
}
}
@media (hover: hover) {
.button:hover {
background-color: rgba(var(--color-contrast),.11);
color: rgb(var(--color-contrast));
}
}