1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- @import "tailwindcss";
- @import "tailwindcss/theme.css" layer(theme);
- @import "tailwindcss/preflight.css" layer(base);
- @import "tailwindcss/utilities.css" layer(utilities);
- @layer theme, base, components, utilities;
- @plugin "@tailwindcss/typography";
- @plugin "daisyui" {
- themes: lofi --default;
- }
- @plugin "daisyui/theme" {
- name: "lofi";
- default: true;
- --color-primary: 'white';
- --color-info: '@0284c7';
- --color-success: '@4e9a06';
- --color-error: '#cc0000';
- --color-base-100: 'black';
- --rounded-badge: "1rem";
- --animation-input: "0.1s";
- }
- @theme {
- --font-heading: "Oswald";
- --font-sans: "Open Sans";
- --text-base: 24px;
- }
- div.noscript {
- background: white;
- color: black;
- font-size: 1.5rem;
- padding: 1rem;
- a {
- text-decoration: underline;
- color: dodgerblue;
- }
- }
- h1, h2, h3, h4, h5, h6 {
- font-family: "Oswald";
- font-weight: 400;
- }
- a {
- text-decoration: underline theme('colors.sky.500');
- text-decoration-thickness: 2px;
- text-underline-offset: 2px;
- }
- .prose p {
- &.calltoaction {
- text-align: center;
- display: block;
- margin: theme(spacing.6) 0;
- padding: theme(spacing.6) 0;
- background-color: #e7f2fd;
- font-size: 1.5em;
- font-family: Oswald,sans-serif;
- }
- }
- .prose strong a {
- font-weight: bold;
- }
- .prose figure {
- position: relative;
- img {
- width: 100%;
- }
- figcaption {
- position: absolute;
- width: 100%;
- bottom: 0;
- font-size: .75rem;
- color: #fff;
- line-height: 1.75rem;
- background: rgba(0,0,0,.5);
- padding: 0 theme("spacing.3") .2em theme("spacing.3");
- border-bottom-right-radius: .25rem;
- border-bottom-left-radius: .25rem;
- a {
- color: white;
- text-decoration: underline;
- }
- &:before {
- content: "\203A\2002";
- }
- }
- }
|