mobile.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /*
  2. * Personal website of UltrasonicMadness
  3. * Copyright (C) 2017-2018, 2021-2023 UltrasonicMadness
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU Affero General Public License as
  7. * published by the Free Software Foundation, either version 3 of the
  8. * License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU Affero General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Affero General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. html
  19. {
  20. height:100%;
  21. }
  22. body
  23. {
  24. font-family:sans-serif;
  25. margin:0;
  26. padding:0;
  27. min-height:100%;
  28. display:flex;
  29. flex-flow:column;
  30. }
  31. h1, h2, h3, h4, h5, h6, p
  32. {
  33. margin-left:2mm;
  34. margin-right:2mm;
  35. }
  36. #main-logo-container
  37. {
  38. display:flex;
  39. }
  40. #main-logo-container a
  41. {
  42. flex:1;
  43. background-color:#000;
  44. width:100%;
  45. }
  46. #main-logo-container img
  47. {
  48. display:block;
  49. margin:auto;
  50. width:50%;
  51. }
  52. nav
  53. {
  54. display:flex;
  55. flex-flow:row;
  56. width:100%;
  57. padding-left:0;
  58. padding-right:0;
  59. margin:0;
  60. }
  61. nav a
  62. {
  63. flex:1;
  64. width:100%;
  65. height:100%;
  66. line-height:2em;
  67. text-align:center;
  68. text-decoration:none;
  69. }
  70. #page-pane
  71. {
  72. display:flex;
  73. flex-flow:column;
  74. flex:1;
  75. }
  76. main h1
  77. {
  78. margin-top:0;
  79. margin-bottom:0;
  80. font-weight:100;
  81. text-align:center;
  82. }
  83. footer
  84. {
  85. flex:1;
  86. }
  87. .app-container
  88. {
  89. display:flex;
  90. justify-content:space-between;
  91. flex-wrap:wrap;
  92. width:95%;
  93. }
  94. .app-container div
  95. {
  96. width:25%;
  97. padding:0.5em;
  98. }
  99. .app-container div img
  100. {
  101. border-radius:15%;
  102. display:block;
  103. margin:auto;
  104. width:100%;
  105. border-width:2px;
  106. border-style:solid;
  107. border-color:#000;
  108. }
  109. .app-container div a
  110. {
  111. display:block;
  112. width:100%;
  113. padding:0.5em;
  114. text-align:center;
  115. text-decoration:none;
  116. border-radius:15%;
  117. }
  118. .app-container div a:focus
  119. {
  120. outline:none;
  121. }
  122. #social img
  123. {
  124. width:100%;
  125. }
  126. #social a
  127. {
  128. display:inline-block;
  129. width:20%;
  130. padding:0;
  131. margin:0;
  132. }
  133. #usm-latest
  134. {
  135. width:60%;
  136. margin-top:2mm;
  137. margin-bottom:2mm;
  138. margin-left:auto;
  139. margin-right:auto;
  140. }
  141. #usm-latest a
  142. {
  143. text-decoration:none;
  144. }
  145. #usm-latest ul
  146. {
  147. max-height:80mm;
  148. }
  149. #usm-latest
  150. {
  151. float:right;
  152. width:45%;
  153. margin:2mm;
  154. }