custom.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /* Font Declaration */
  2. @font-face {
  3. font-family: 'NunitoReg';
  4. src: url('/static/fonts/nunito/Nunito-Regular.ttf');
  5. }
  6. h1, h3, a, p {
  7. font-family: 'NunitoReg';
  8. }
  9. h1 {
  10. margin: 20px 0 20px 0;
  11. }
  12. /* Globals */
  13. .center-elem {
  14. position: relative;
  15. margin: auto;
  16. }
  17. .padding-top {
  18. padding-top: 20px;
  19. }
  20. .red-border {
  21. border-color: #ff3333 !important;
  22. }
  23. /* Major */
  24. body {
  25. padding-bottom: 50px;
  26. }
  27. /* Navbar */
  28. nav.navbar {
  29. background-color: #ff3333;
  30. max-width: 50%;
  31. position: relative;
  32. margin: auto;
  33. border-radius: 0 0 25px 25px;
  34. }
  35. .navbar-brand {
  36. filter: invert(100%) sepia(3%) saturate(0%) hue-rotate(271deg) brightness(104%) contrast(101%);
  37. width: 50px;
  38. }
  39. nav a, .navbar-text, .navbar-toggler-icon {
  40. color: white;
  41. }
  42. .navbar-text {
  43. font-weight: bolder;
  44. font-size: large;
  45. padding-right: 20px;
  46. }
  47. /* Flash Alerts */
  48. .alert {
  49. position: relative;
  50. margin: auto;
  51. width: 20%;
  52. }
  53. /* Images */
  54. img {
  55. max-width: 250px;
  56. max-height: 250px;
  57. margin: 20px 0 20px 0;
  58. }
  59. .mimg {
  60. max-width: 100px;
  61. max-height: 100px;
  62. border-radius: 50% !important;
  63. }
  64. /* Input */
  65. input {
  66. max-width: 200px;
  67. }
  68. .btn {
  69. background-color: #ff3333;
  70. border-color: #ff3333;
  71. }
  72. .upswd {
  73. margin-top: 20px;
  74. }
  75. .description_area {
  76. position: relative;
  77. margin: auto; /* centers */
  78. }
  79. .updesc {
  80. position: relative;
  81. margin: auto;
  82. display: block; /* sends to newline */
  83. margin-top: 20px;
  84. }
  85. /* Backgrounds */
  86. .matchbook-bg {
  87. background-color: #ffe6e6;
  88. width: 500px;
  89. border-radius: 25%;
  90. border-color: #ff3333 !important;
  91. margin: 20px 0 20px 0;
  92. }
  93. /* Messaging */
  94. .message_hist {
  95. max-width: 50%;
  96. min-height: 20%;
  97. max-height: 70%;
  98. position: relative;
  99. margin: auto;
  100. padding: 10px;
  101. border-color: #ffe6e6 !important;
  102. }
  103. .senderpic {
  104. transform: translate(-100px);
  105. }
  106. .recvrpic {
  107. transform: translate(100px);
  108. }
  109. .msging_name {
  110. display: inline; /* removes element's newline*/
  111. z-index: 3;
  112. position: relative;
  113. }