mobile.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /*
  2. * Personal website of UltrasonicMadness
  3. * Copyright (C) 2018 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. font-size:150%;
  26. margin:0;
  27. padding:0;
  28. min-height:100%;
  29. display:flex;
  30. flex-flow:column;
  31. }
  32. #main-logo-container
  33. {
  34. display:flex;
  35. }
  36. #main-logo-container a
  37. {
  38. flex:1;
  39. background-color:#000;
  40. width:100%;
  41. }
  42. #main-logo-container img
  43. {
  44. display:block;
  45. margin:auto;
  46. width:50%;
  47. }
  48. nav
  49. {
  50. display:flex;
  51. flex-flow:row;
  52. width:100%;
  53. padding-left:0;
  54. padding-right:0;
  55. margin:0;
  56. font-size:48pt;
  57. }
  58. nav a
  59. {
  60. flex:1;
  61. width:100%;
  62. height:100%;
  63. line-height:2em;
  64. text-align:center;
  65. text-decoration:none;
  66. }
  67. #page-pane
  68. {
  69. display:flex;
  70. flex-flow:column;
  71. flex:1;
  72. }
  73. main h1
  74. {
  75. margin:0;
  76. font-size:350%;
  77. font-weight:100;
  78. text-align:center;
  79. }
  80. footer
  81. {
  82. flex:1;
  83. font-size:50%;
  84. }
  85. .app-container
  86. {
  87. display:flex;
  88. justify-content:space-between;
  89. flex-wrap:wrap;
  90. width:95%;
  91. }
  92. .app-container div
  93. {
  94. width:25%;
  95. padding:0.5em;
  96. }
  97. .app-container div img
  98. {
  99. border-radius:15%;
  100. display:block;
  101. margin:auto;
  102. width:100%;
  103. border-width:2px;
  104. border-style:solid;
  105. border-color:#000;
  106. }
  107. .app-container div a
  108. {
  109. display:block;
  110. width:100%;
  111. padding:0.5em;
  112. font-size:125%;
  113. text-align:center;
  114. text-decoration:none;
  115. border-radius:15%;
  116. }
  117. .app-container div a:focus
  118. {
  119. outline:none;
  120. }
  121. #social img
  122. {
  123. width:100%;
  124. }
  125. #social a
  126. {
  127. display:inline-block;
  128. width:20%;
  129. padding:0;
  130. margin:0;
  131. }