body { max-width: 320px; margin: auto; padding: 30px 20px; font-family: sans-serif; font-size: 14px; } /* Titres */ h1 { text-align: center; font-size: 20px; } h1 span { font-size: 60%; font-weight: 400; } /* Formulaires */ .btn, button, [type="submit"] { display: block; width: 200px; margin: 10px auto auto; padding: 8px 0; text-align: center; color: blue; border: 1px solid blue; border-radius: 4px; background-color: white; } .btn-no-style { display: inline-block; width: auto; margin: 0; padding: 0; border: 0; color: inherit; } section button { width: 100%; color: #4a4a4a; border-color: #4a4a4a; } label, input { display: inline; } /* Listes */ ul { padding-left: 0; list-style-type: none; } li + li { margin-top: 20px; } /* Apparence */ section:not(:last-of-type) { margin-bottom: 30px; } input[type="text"], input[type="email"] { border:0; border-bottom:1px solid black; line-height:60%; } input[type="date"] { width: 50%; padding: 5px; border: 1px solid #9b9b9b; border-radius: 4px; } input[type="date"]:disabled { opacity: 0.7; } .toggle-field { color: blue; cursor: pointer; text-decoration: underline; } .overlay { background: rgba(1, 1, 1, .3); height: 100%; top: 0; left: 0; position: absolute; width: 100%; z-index: 5; } .modal { background: #fff; top: 10%; left: 40%; padding: 10px; position: absolute; z-index: 10; } i { color: #9b9b9b; } .item-disabled { opacity: 0.7; } section + nav { margin-top: 100px; }