example style

This commit is contained in:
Niccolo Borgioli 2023-02-05 13:43:37 +01:00
parent 82cc6b8c70
commit 4d3010e3be
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B

View File

@ -10,17 +10,24 @@
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
h1 {
margin: 0;
margin-bottom: 1rem;
}
section {
text-align: center;
max-width: 25em;
margin: 1em auto;
margin: 2em auto;
padding: 1em;
background-color: #f3f3f3;
border-radius: 0.5em;
border-radius: 2rem;
box-shadow: 0 8px 16px -16px rgba(0, 0, 0, 0.5);
border: 0.2rem solid #bae8ee;
}
input {
input,
select {
font-size: 1.25em;
display: block;
padding: 0.5em 1em;
@ -28,7 +35,7 @@
border-radius: 1em;
width: 100%;
outline: none;
border: 0.15em solid white;
border: 0.2rem solid #bae8ee;
}
input:focus,
@ -44,12 +51,17 @@
display: inline;
width: initial;
}
form {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<section>
<h3>Open the console to see the submitted data</h3>
<i>Open the console to see the submitted data</i>
</section>
<script type="module" src="./simple.tsx"></script>