Skip to content

Commit

Permalink
update: minor UI changes
Browse files Browse the repository at this point in the history
- the form legend is now centered and bolden
  • Loading branch information
Equinox4 committed May 24, 2024
1 parent fff0a6a commit 068cd34
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
12 changes: 11 additions & 1 deletion src/public/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body
font-family: sans-serif;
display: flex;
flex-direction: column;
max-width: 80rem;
max-width: 100rem;
padding: 0 1rem 0 1rem;
}

Expand Down Expand Up @@ -76,9 +76,19 @@ input[type="submit"]
display: block;
}

#input_duration, #input_custom_id
{
width: 50%;
}

legend
{
margin: auto;
font-weight: bold;
padding-left: 1rem;
padding-right: 1rem;
margin-bottom: 1rem;
font-size: 1.2rem;
}

footer
Expand Down
8 changes: 6 additions & 2 deletions src/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@
<meta property="og:url" content="https://paste.mjollnir.fr">

<link href="/assets/images/icons/paste_icon_16.png" rel="icon"/>
<link rel="stylesheet" href="/assets/css/main.css" integrity="sha384-MG33p75iviAf+KmRaCWt9UDw8zZBGhqX242hgCdrLHEEOHLJLanG+l4ryO++S/o8"/>

<link rel="stylesheet" href="/assets/css/main.css" integrity=""/>
<link rel="stylesheet" media="print" href="/assets/css/print_main.css" integrity=""/>
</head>
<body>
<main>
<header>
<h1>Texte ephémère</h1>
</header>
<main>
<p>
Vous pouvez créer ici un document texte qui sera stocké et accessible pour une durée maximale de 24 heures.<br/>
Les documents créés ne sont pas conservés au-delà de la limite sélectionnée dans le formulaire ci-dessous.<br/>
Expand Down

0 comments on commit 068cd34

Please sign in to comment.