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.

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