les-particules-org/src/layouts/Layout.astro

42 lines
1,011 B
Text
Raw Normal View History

2023-01-30 22:49:01 +01:00
---
export interface Props {
title: string;
}
const { title } = Astro.props;
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
2023-01-30 23:07:02 +01:00
<link rel="icon" type="image/svg+xml" href="./favicon.jpg" />
2023-01-30 22:49:01 +01:00
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
2023-02-07 00:02:07 +01:00
<body style="background-image: url('./logo_les-particules_orange.jpg'); background-position-x: center; background-repeat: no-repeat; background-position-y: top; min-height:100%">
2023-01-30 22:49:01 +01:00
<slot />
</body>
</html>
<style is:global>
:root {
--accent: 124, 58, 237;
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), #da62c4 30%, white 60%);
}
html {
font-family: system-ui, sans-serif;
background-color: #F6F6F6;
}
html, body {
height: 100%;
padding:0;
margin:0;
}
code {
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
Bitstream Vera Sans Mono, Courier New, monospace;
}
</style>