You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 line
1.4KB

  1. html, body {
  2. height: 100%;
  3. }
  4. body {
  5. display: flex;
  6. text-align: center;
  7. flex-flow: row wrap;
  8. }
  9. body > * {
  10. flex: 1 100%;
  11. }
  12. main {
  13. margin: auto;
  14. flex: 1 0;
  15. }
  16. img {
  17. max-width: 100%;
  18. }
  19. /* Homepage */
  20. .intro > h1 {
  21. color: #212121;
  22. font-size: 12vh;
  23. }
  24. .intro > h2 {
  25. color: #757575;
  26. font-size: 3vmin;
  27. }
  28. /* Page content */
  29. .content {
  30. padding-top: 20px;
  31. }
  32. /* Profile picture */
  33. .profile {
  34. width: 10vh;
  35. height: 10vh;
  36. border-radius: 50%;
  37. }
  38. /* Colored links */
  39. a:link, a:visited {
  40. color: var(--accent);
  41. }
  42. a.icon:hover {
  43. text-decoration: none;
  44. }
  45. a:hover {
  46. color: var(--accent) !important;
  47. }
  48. /* Copyright message */
  49. .copyright {
  50. margin: 15px 0;
  51. }
  52. /* Paginator */
  53. .pages {
  54. padding: 15px 0;
  55. }
  56. .pages-icon {
  57. padding: 0 15px;
  58. }
  59. /* List item for posts/projects */
  60. .item {
  61. padding: 10px 0;
  62. }
  63. .item-tag {
  64. background-color: var(--accent);
  65. }
  66. /* Navigation */
  67. .navbar-icon {
  68. font-size: 125%;
  69. display: inline-block !important;
  70. }
  71. nav{
  72. flex: 1 0 auto;
  73. }
  74. /* Colored borders at top/bottom of page */
  75. .navbar.navbar-default {
  76. border-bottom: var(--border-width) solid var(--accent);
  77. }
  78. footer {
  79. flex-shrink: 0;
  80. border-top: var(--border-width) solid var(--accent);
  81. }
  82. /* helpers */
  83. .right {
  84. text-align: right;
  85. float: right;
  86. }
  87. .left {
  88. text-align: left;
  89. float: left;
  90. }