1
0

example.css 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. * {
  2. box-sizing: border-box;
  3. -webkit-font-smoothing: antialiased;
  4. -moz-osx-font-smoothing: grayscale;
  5. }
  6. body {
  7. margin: 0;
  8. background-color: #000;
  9. overscroll-behavior: none;
  10. overflow: hidden;
  11. height: 100%;
  12. }
  13. a {
  14. text-decoration: none;
  15. color: inherit;
  16. }
  17. #info {
  18. position: fixed;
  19. top: 15px;
  20. left: 15px;
  21. z-index: 1001;
  22. display: grid;
  23. grid-template-columns: 50px auto;
  24. grid-template-rows: auto auto;
  25. column-gap: 10px;
  26. align-items: center;
  27. color: #e0e0e0;
  28. text-shadow: 1px 1px 5px rgba(0, 0, 0, .7);
  29. font: 400 14px 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  30. }
  31. #info > a.logo-link {
  32. grid-column: 1;
  33. grid-row: 1 / span 2;
  34. display: block;
  35. width: 50px;
  36. height: 50px;
  37. background: no-repeat center / contain;
  38. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 226.77 226.77"><g transform="translate(8.964 4.2527)" stroke="%23ffffff" stroke-linecap="butt" stroke-linejoin="round" stroke-width="4" fill="none"><path d="m63.02 200.61-43.213-174.94 173.23 49.874z"/><path d="m106.39 50.612 21.591 87.496-86.567-24.945z"/><path d="m84.91 125.03-10.724-43.465 43.008 12.346z"/><path d="m63.458 38.153 10.724 43.465-43.008-12.346z"/><path d="m149.47 62.93 10.724 43.465-43.008-12.346z"/><path d="m84.915 125.06 10.724 43.465-43.008-12.346z"/></g></svg>');
  39. }
  40. .title-wrapper {
  41. grid-column: 2;
  42. grid-row: 1;
  43. display: flex;
  44. align-items: center;
  45. }
  46. #info > small {
  47. grid-column: 2;
  48. grid-row: 2;
  49. font-size: 12px;
  50. color: #e0e0e0;
  51. }
  52. .title-wrapper > a {
  53. font-weight: 600;
  54. }
  55. .title-wrapper > span {
  56. opacity: .7;
  57. position: relative;
  58. padding-left: 12px;
  59. margin-left: 10px;
  60. }
  61. #info > small a {
  62. color: #ff0;
  63. text-decoration: none;
  64. }
  65. #info > small a:hover {
  66. text-decoration: underline;
  67. }
  68. .title-wrapper > span::before {
  69. content: "";
  70. position: absolute;
  71. left: 1px;
  72. top: calc(50% + 1px);
  73. transform: translateY(-50%);
  74. width: 1px;
  75. height: 12px;
  76. background: #c3c3c3;
  77. opacity: .5;
  78. }
  79. #info.invert {
  80. filter: invert(1);
  81. }
粤ICP备19079148号