contact.css 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. Copyright (C) 2021 Echedey López Romero <elr@disroot.org>
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. nav li:nth-child(7) > a {
  15. text-decoration: underline;
  16. }
  17. main div {
  18. margin: auto;
  19. padding: 1rem;
  20. width: 30rem;
  21. background-color: rgb(217, 62, 65);
  22. }
  23. main form {
  24. width: 100%;
  25. }
  26. main label {
  27. display: inline-block;
  28. margin-bottom: 0.25rem;
  29. }
  30. main input:not([type=submit]):not([type=reset]),
  31. main select,
  32. main textarea {
  33. width: 100%;
  34. padding: 0.5rem;
  35. margin-bottom: 0.5rem;
  36. display: inline-block;
  37. border-width: 0.15rem;
  38. border-style: solid;
  39. border-color: transparent;
  40. }
  41. main textarea {
  42. resize: none;
  43. }
  44. main input[type=submit] {
  45. margin-bottom: 0.5rem;
  46. }
  47. main input[type=submit],
  48. main input[type=reset] {
  49. width: 100%;
  50. background-color: rgb(255, 226, 66);
  51. color: rgb(217, 62, 65);
  52. padding: 0.5rem;
  53. border-width: 0.15rem;
  54. border-style: dashed;
  55. border-color: rgb(255, 226, 66);
  56. cursor: pointer;
  57. }
  58. main input[type=submit]:hover,
  59. main input[type=reset]:hover {
  60. border-width: 0.15rem;
  61. border-style: dashed;
  62. border-color: rgb(217, 62, 65);
  63. }