Website for visualizing a persons github network.
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.

116 lines
2.3 KiB

  1. :root {
  2. --primary:rgba(16,116,231,1);
  3. --secondary:rgba(46,188,79,1);
  4. --dark:rgba(36,41,46,1);
  5. --dark-2:rgba(43,49,55,1);
  6. --white:rgba(255,255,255,1);
  7. }
  8. body {
  9. font-size: 18px;
  10. color: var(--dark-2);
  11. }
  12. /* Bootstrap overides
  13. ----------------------------------------------- */
  14. .bg-dark {
  15. background-color: var(--dark) !important;
  16. }
  17. .bg-dark-2 {
  18. background-color: var(--dark-2);
  19. }
  20. .btn-primary {
  21. background-color: var(--primary);
  22. border-color: var(--primary);
  23. }
  24. .btn-secondary {
  25. background-color: var(--dark-2);
  26. border-color: var(--dark-2);
  27. }
  28. .navbar-dark .navbar-nav .nav-item.active .nav-link {
  29. font-weight: 600;
  30. }
  31. .container-xl {
  32. max-width: 1280px;
  33. margin: auto;
  34. }
  35. .main {
  36. background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-2) 420px, var(--white) 420px);
  37. }
  38. @media screen and (min-width: 768px) {
  39. .main {
  40. background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-2) 360px, var(--white) 360px);
  41. }
  42. }
  43. @media screen and (min-width: 992px) {
  44. .main {
  45. background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-2) 420px, var(--white) 420px);
  46. }
  47. .home-page .main::before {
  48. display: block;
  49. content: '';
  50. position: absolute;
  51. right: 0;
  52. height: 90vh;
  53. width: 50vw;
  54. background-image: url(./img/home-image.png);
  55. background-repeat: no-repeat;
  56. }
  57. }
  58. @media screen and (min-width: 768px) {
  59. .friends-graph-page #profileGen,
  60. .timeline-graph-page #profileGen {
  61. margin-top: -84px
  62. }
  63. }
  64. .card .actions {
  65. position: absolute;
  66. right: 16px;
  67. bottom: 16px;
  68. }
  69. .card .actions .btns {
  70. display: inline-block;
  71. padding: 8px;
  72. margin-left: 8px;
  73. height: 40px;
  74. width: 40px;
  75. border-radius: 50%;
  76. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05), 0px 1px 3px rgba(0, 0, 0, 0.1);
  77. background-color: white;
  78. transition: box-shadow .3s ease-out;
  79. }
  80. .card .actions .btns:hover {
  81. box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.06);
  82. }
  83. .card .actions .btns svg {
  84. display: block;
  85. margin-left: auto;
  86. margin-right: auto;
  87. height: 24px;
  88. width: 24px;
  89. fill: var(--dark-2);
  90. opacity: 0.64;
  91. transition: opacity .3s ease-out;
  92. }
  93. .card .actions .btns:hover svg {
  94. fill: var(--primary);
  95. opacity: 1;
  96. }