custom.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. padding: 8px;
  68. }
  69. .btn {
  70. background-color: #ff3333;
  71. border-color: #ff3333;
  72. }
  73. .upswd {
  74. margin-top: 20px;
  75. }
  76. .description_area {
  77. position: relative;
  78. margin: auto; /* centers */
  79. }
  80. .updesc {
  81. position: relative;
  82. margin: auto;
  83. display: block; /* sends to newline */
  84. margin-top: 20px;
  85. }
  86. /* Backgrounds */
  87. .matchbook-bg {
  88. background-color: #ffe6e6;
  89. width: 500px;
  90. border-radius: 25%;
  91. border-color: #ff3333 !important;
  92. margin: 20px 0 20px 0;
  93. }
  94. /* Messaging */
  95. .message_hist {
  96. max-width: 50%;
  97. min-height: 20%;
  98. max-height: 70%;
  99. position: relative;
  100. margin: auto;
  101. padding: 10px;
  102. border-color: #ffe6e6 !important;
  103. }
  104. .senderpic {
  105. transform: translate(-100px);
  106. }
  107. .recvrpic {
  108. transform: translate(100px);
  109. }
  110. .msging_name {
  111. display: inline; /* removes element's newline*/
  112. z-index: 3;
  113. position: relative;
  114. }