Advertisement
antijingoist

Mastodon Theme: Red

Nov 23rd, 2022
1,672
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.56 KB | Source Code | 0 0
  1. :root {
  2.   --vivaldi-red: #cf2e2e;
  3.   --accent: #cf2e2e;
  4.   --accent_select: rgb(0 0 0 / 21%);
  5.   --text: #efc414;
  6.   --text_accent: #fff;
  7.   --action_button: #4c70f0;
  8.   --text_a_button: #fff;
  9.   --text_link: #4c70f0;
  10.   --bg: #fff;
  11.   --bg_drawer: #303450;
  12.   --text_drawer: #bec0d7;
  13.   --inset_block: inset 1px 4px 7px rgb(0 0 0 / 42%);
  14.   --fav: rgb(255, 237, 0);
  15.   --bg_fav: #ffffd6;
  16.   --warning: #b60100;
  17.   --info: rgba(232, 240, 254, 0.75);
  18.   --scroll: #96a0ff;
  19.   --announcement: #ece7bf;
  20.   --mDefault: #282c37;
  21.   --text_mute: #bccdfa;
  22.  
  23.   --action_push: scale(0.95);
  24.   --selected_card: #eee;
  25. }    
  26.  
  27. html {
  28.     text-rendering: optimizeLegibility;
  29. }
  30.  
  31. .ui__header {
  32.   background: var(--accent);
  33.   border-bottom: 1px solid rgba(0,0,0,0.075);
  34. }
  35.  
  36. .columns-area__panels__pane--navigational .navigation-panel {
  37.   background: var(--accent);
  38.   border-left: 1px solid #b3b2ce;
  39.   color: var(--accent_text);
  40. }
  41.  
  42. .tabs-bar__wrapper {
  43.   background: var(--info);
  44.   backdrop-filter: blur(8px);
  45. }
  46.  
  47. .column-back-button, .column-header {
  48.   background: transparent;
  49. }
  50.  
  51. .column-header__button {
  52.   background: transparent;
  53. }
  54.  
  55. a.column-link--transparent{
  56.     color: var(--text_accent);
  57.     transition: .25s box-shadow;
  58. }
  59.  
  60. .column-header__collapsible-inner {
  61.   background: var(--info);
  62.   border-bottom: 1px solid rgb(0 0 0 / 18%);
  63.   box-shadow: var(--inset_block);
  64.   transition: 0.25s all;
  65. }
  66.  
  67. .column-header__button.active {
  68.     background-color: var(--accent_select);
  69. }
  70.  
  71. .button {
  72.     background-color: var(--action_button);
  73.     color: var(--text_a_button);
  74. }
  75.  
  76. .button:active {
  77.     transform: var(--action_push);
  78. }
  79.  
  80. a.column-link--transparent.active {
  81.     background-color: var(--accent_select);
  82.     box-shadow: var(--inset_block);
  83.     border-radius: 0 10px 10px 0;
  84.     transition: .25s box-shadow;
  85. }
  86.  
  87. article {
  88.   border-radius: 16px;
  89.   box-shadow: rgb(0 0 0 / 5%) 0px 20px 14px 9px;
  90.   border: 1px solid rgba(0, 0, 0, 0.1);
  91.   background: #fff;
  92.   margin-bottom: 3rem;
  93.   transition: 0.25s all;
  94. }
  95.  
  96. article:has( button.icon-button.star-icon.active ) {
  97.   background-color: var(--bg_fav);
  98.   transition: 0.25s all;
  99. }
  100.  
  101. .status {
  102.     border: none;
  103. }
  104.  
  105. .column>.scrollable {
  106.     background: transparent;
  107.     border: none;
  108. }
  109.  
  110. .focusable:focus {
  111.     background: var(--selected_card);
  112. }
  113.  
  114. .account__section-headline .active, .account__section-headline a:hover {
  115.     color: var(--text_link);
  116. }
  117.  
  118. .icon-button.star-icon.active {
  119.     z-index: 999999999999;
  120. }
  121.  
  122. .icon-button.star-icon.active, .notification__favourite-icon-wrapper .fa.star-icon {
  123.     color: var(--fav);
  124.   filter: drop-shadow(0px 0px 5px black);
  125.   transition: 0.25s all;
  126. }
  127.  
  128. .no-reduce-motion .icon-button.star-icon.activate>.fa-star {
  129.   animation-duration:1s;
  130.   animation-name:spinZoom;
  131.   animation-fill-mode:both;
  132.   animation-iteration-count:1; 
  133.   animation-timing-function: ease;
  134. }
  135.  
  136. .no-reduce-motion .icon-button.star-icon.deactivate>.fa-star {
  137.   animation-duration:1s;
  138.   animation-name:unSetItem;
  139.   animation-fill-mode:both;
  140.   animation-iteration-count:1; 
  141. }
  142.  
  143. .dismissable-banner {
  144.     background: var(--info);
  145. }
  146.  
  147. @media screen and (max-width: 1174px){
  148.  
  149.    
  150. }
  151.  
  152.  
  153.  
  154. @keyframes spinZoom {
  155.    0% {
  156.     z-index: 90000;
  157.    }
  158.   70% {
  159.     z-index:90000;
  160.     transform:scale(40) rotate(360deg);
  161.     filter:drop-shadow(3px 3px 50px black);
  162.   }
  163.   100% {
  164.     z-index:0;
  165.     filter:drop-shadow(0);
  166.     transform:scale(1) rotate(360deg);
  167.   }
  168. }
  169.  
  170. @keyframes unSetItem {
  171.   70% {
  172.     transform:scale(.01) rotate(360deg);
  173.   }
  174.   100% {
  175.     transform:scale(1) rotate(360deg);
  176.   }
  177. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement