Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. header h1 {
  2. font-size: 12px;
  3. color: #000000;
  4. display: inline-block;
  5. position: fixed;
  6. top: 0;
  7. right: 100%;
  8. transform: rotate(-90deg);
  9. transform-origin: 100% 0;
  10. /*
  11. white-space: nowrap; — Sequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line. The text continues on the same line until a <br> tag is encountered
  12. */
  13. white-space: nowrap;
  14. padding: 20px 41px 0 0;
  15. text-decoration: none;
  16. z-index: 9;
  17.  
  18. cursor: url('juan-cursor.png') 0 0, pointer; /* Legacy */
  19. cursor: url('juan-cursor.svg') 0 0, pointer; /* FF */
  20. cursor: -webkit-image-set(url('juan-cursor.png') 1x, url('juan-cursor-2x.png') 2x) 15 15, pointer; /* Webkit */
  21. }
  22.  
  23. header h1:hover {
  24. color: #cccccc;
  25. }
  26.  
  27. nav {
  28. position: fixed;
  29. justify-content: space-between;
  30. display: inline-block;
  31. top: 86vh;
  32. left: 0;
  33. transform-origin: 0 0;
  34. transform: rotate(-90deg) translate(-50%, 0);
  35. padding: 20px 41px 0 2rem;
  36. z-index: 8;
  37. }
  38.  
  39. nav a {
  40. font-size: 12px;
  41. color: #000000;
  42. line-height: 1.125;
  43. text-decoration: none;
  44.  
  45. margin: 0 8px;
  46.  
  47. cursor: url('juan-cursor.png') 0 0, pointer; /* Legacy */
  48. cursor: url('juan-cursor.svg') 0 0, pointer; /* FF */
  49. cursor: -webkit-image-set(url('juan-cursor.png') 1x, url('juan-cursor-2x.png') 2x) 15 15, pointer; /* Webkit */
  50. }
  51.  
  52. nav a:hover {
  53. color: #cccccc;
  54. }
  55.  
  56. @media (max-width: 540px) {
  57. header {
  58. display: flex;
  59. top: 0;
  60. left: 0;
  61. }
  62.  
  63. header h1 {
  64. flex: 1;
  65. font-size: 12px;
  66. color: #000000;
  67. }
  68.  
  69. header h1:hover {
  70. color: #cccccc;
  71. }
  72.  
  73. nav {
  74. margin-left: auto;
  75. }
  76.  
  77. nav a {
  78. font-size: 12px;
  79. color: #000000;
  80. text-decoration: none;
  81. }
  82.  
  83. header nav a:hover {
  84. color: #cccccc;
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement