feat(site): use pico css; content safe center
This commit is contained in:
parent
93ad51b356
commit
3af741cc9e
2 changed files with 16 additions and 0 deletions
12
index.html
12
index.html
|
|
@ -4,11 +4,23 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>status-indicator web component demo</title>
|
||||
<link rel="stylesheet" href="./pico.min.css">
|
||||
<script type="module" src="./src/status-indicator.ts"></script>
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%
|
||||
}
|
||||
body {
|
||||
display: grid;
|
||||
place-content: safe center;
|
||||
}
|
||||
main {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
status-indicator {
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
4
pico.min.css
vendored
Normal file
4
pico.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue