Move all files to old/astro/

This commit is contained in:
Oliver Davies 2025-10-03 01:06:46 +01:00
parent b176f4d25e
commit cdf77e8b5f
1340 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,30 @@
@layer base {
h2 {
@apply font-bold
}
blockquote {
@apply pl-4 border-l-3 border-blue-primary dark:border-blue-400;
}
code {
@apply px-2 py-1 text-sm rounded-md text-grey-700 bg-grey-200 dark:bg-grey-800 dark:text-grey-100;
}
pre {
@apply p-4 my-8 overflow-auto rounded-md text-grey-700 bg-grey-200 dark:bg-grey-800 dark:text-grey-100;
}
pre code {
@apply bg-transparent;
}
iframe {
@apply w-full;
}
a:focus {
@apply outline-black dark:outline-white;
outline-offset: 2px !important;
}
}

View file

@ -0,0 +1,11 @@
@layer components {
.link {
@apply inline-block underline text-blue-primary hover:text-blue-900 dark:text-blue-400 dark:hover:text-white;
text-decoration-thickness: 1px;
text-underline-offset: 0.1em;
}
.visually-hidden {
@apply sr-only;
}
}

View file

@ -0,0 +1,7 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@import './base.pcss';
@import './components.pcss';
@import './utilities.pcss';

View file

@ -0,0 +1,15 @@
@layer utilities {
@variants dark {
.text-decoration-blue-400 {
text-decoration-color: theme('colors.blue.400');
}
.text-decoration-blue-primary {
text-decoration-color: theme('colors.blue.800');
}
.text-decoration-white {
text-decoration-color: theme('colors.white');
}
}
}

View file

@ -0,0 +1,13 @@
let colours = require('tailwindcss/colors')
module.exports = {
black: '#000',
blue: {
primary: '#24608A',
},
current: 'currentColor',
grey: colours.stone,
inherit: 'inherit',
transparent: 'transparent',
white: '#fff'
}

View file

@ -0,0 +1,9 @@
const plugin = require('tailwindcss/plugin')
module.exports = plugin(function({ addVariant, e }) {
addVariant('focus-visible', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.${e(`focus-visible${separator}${className}`)}[data-focus-visible-added]`
})
})
})

View file

@ -0,0 +1,32 @@
bg-blue-600
bg-grey-200
block
block-opdavies-branding
border
border-grey
border-l-0
flex
flex-col
flex-none
italic
my-auto
p-3
pl-5
pr-6
py-3
rounded-full
rounded-l-full
rounded-r-full
sm:flex-row
sm:space-x-4
sm:space-y-0
space-x-3
space-y-3
space-y-4
text-center
text-sm
text-white
w-16
w-32
w-auto
w-full