index.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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(1) > a {
  15. text-decoration: underline;
  16. }
  17. main > .col-flex {
  18. display: flex;
  19. flex-direction: column;
  20. width: 45%;
  21. }
  22. main > .col-flex:nth-child(1) {
  23. float: left;
  24. }
  25. main > .col-flex:nth-child(2) {
  26. float: right;
  27. }
  28. main article {
  29. display: flex;
  30. margin: auto;
  31. background-color: rgb(217, 62, 65);
  32. padding: 0.25rem;
  33. }
  34. main article:not(:last-child) {
  35. margin-bottom: 2rem;
  36. }
  37. main article > img {
  38. width: 10%;
  39. margin-right: 0.5rem;
  40. }
  41. main article span {
  42. font-size: 0.75rem;
  43. color: rgb(255, 226, 66, 0.75);
  44. }
  45. main article h2 {
  46. font-size: 1.1rem;
  47. }