Guest User

RENSHUU CSS CONSTEST 2025 v1

a guest
Oct 30th, 2025
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.72 KB | Source Code | 0 0
  1. :root {
  2.  
  3.  
  4.  
  5.     --bg-adjusted: hsl(from var(--text) h s calc(100 - l));
  6.     --text-adjusted:hsl(from var(--text) h s calc( 10 + l * 1));
  7. }
  8. .fwrap .sched_box{
  9.     display:flex;
  10.    
  11.     position:relative;
  12.    
  13. }
  14.  
  15. .schedbox2.sched_split  > div:nth-of-type(n+1){
  16.  
  17.     border-radius:5px;
  18.     border-width:1px;
  19.     display:grid;
  20.     flex-wrap:wrap;
  21.     width:100%;
  22.     min-height:65px;
  23.    
  24. }
  25. .schedbox2.sched_split  > div:nth-of-type(n+1):hover{
  26.     outline-style: solid;
  27.     outline-width: 1px;
  28.    
  29. }
  30.  
  31. .sched_box_v3:has(.sched_icon[data-hint="Sentences"]) {
  32.   outline-color: var(--introbox4_on);
  33.   --test-color: var(--introbox4_on);
  34.   background: linear-gradient(
  35.       90deg,
  36.       /*hsl(from var(--introbox4_on) h s calc(l + calc(var(--mode) * 30))) 0% ,*/
  37.       color-mix(in srgb, var(--bg-adjusted) 60%, var(--introbox4_on) 40%) 0%,
  38.       var(--bg_main)100%
  39.       );
  40.  
  41. }
  42. .sched_box_v3:has(.sched_icon[data-hint="Words"]) {
  43.   outline-color: var(--introbox1_on);
  44.   --test-color: var(--introbox1_on);
  45.   background: linear-gradient(
  46.       90deg,
  47.       /*hsl(from var(--introbox4_on) h s calc(l + calc(var(--mode) * 30))) 0% ,*/
  48.       color-mix(in srgb, var(--bg-adjusted) 60%, var(--introbox1_on) 40%) 0%,
  49.       var(--bg_main)100%
  50.       );
  51.  
  52. }
  53. .sched_box_v3:has(.sched_icon[data-hint="Kanji"]) {
  54.   outline-color: var(--introbox3_on);
  55.   --test-color: var(--introbox3_on);
  56.   background: linear-gradient(
  57.       90deg,
  58.       /*hsl(from var(--introbox4_on) h s calc(l + calc(var(--mode) * 30))) 0% ,*/
  59.       color-mix(in srgb, var(--bg-adjusted) 60%, var(--introbox3_on) 40%) 0%,
  60.       var(--bg_main)100%
  61.       );
  62.  
  63. }
  64. .sched_box_v3:has(.sched_icon[data-hint="Grammar"]) {
  65.   outline-color: var(--introbox2_on);
  66.   --test-color: var(--introbox2_on);
  67.   background: linear-gradient(
  68.       90deg,
  69.       /*hsl(from var(--introbox4_on) h s calc(l + calc(var(--mode) * 30))) 0% ,*/
  70.       color-mix(in srgb, var(--bg-adjusted) 60%, var(--introbox2_on) 40%) 0%,
  71.       var(--bg_main)100%
  72.       );
  73.  
  74. }
  75.  
  76. .c_circular-chart{
  77.     height:100%!important;
  78.     width:30px!important;
  79.    
  80.     margin: -4px 0 0 0;
  81.     background-color:var(--test-color);    
  82.   clip-path: polygon(
  83.     0% 0%,      /* top-left */
  84.     100% 0%,   /* top-right shifted down (controls angle) */
  85.     100% 100%,   /* bottom-right shifted up (controls angle) */
  86.     50% 90%,
  87.     0% 100%     /* bottom-left */
  88.   );
  89.     filter: drop-shadow(0 4px 6px color-mix(in srgb, var(--test-color) 50%, black 50% ));
  90.    
  91.  
  92. }
  93.  
  94. .c_percentage{
  95.  
  96.        background-clip: text;
  97.        -webkit-background-clip: text;
  98.        -moz-background-clip: text;
  99.        fill: color-mix(in srgb, var(--test-color) 50%, black 50% )!important;
  100.        
  101.        
  102. }
  103.  
  104. .sched_data{
  105.     margin-left:10px;
  106.  
  107.     height:18px;
  108.     grid-area:inherit!important;
  109.    
  110. }
  111.  
  112. .sched_link{
  113.     align-self:normal!important;
  114.     margin-top:0px;
  115.     margin-left:10px;
  116.    
  117. }
  118.  
  119. .sched_status .tlnk:not(.pure-button){
  120.     color:var(--test-color);
  121. }
  122. .sched_status > *:not(:last-child) {
  123.   grid-column: 1;
  124.    
  125.     width:100%
  126. }
  127. .sched_status > :last-child {
  128.   grid-column: 2;
  129.    
  130.    
  131.    
  132.  
  133. }
  134.  
  135. .flexbox .fcenter .sched_blinks{
  136.     display:none!important;
  137. }
  138. .tlnk .grow .right{
  139.     width:10px!important;
  140. }
  141. .sched_status{
  142.  justify-content: space-between;
  143.     align-self:end;
  144.     margin-right: auto;
  145.  
  146.     flex-basis:100%;
  147.     width:100%;
  148.    
  149.     max-width:100%!important;
  150.     display:grid;
  151. }
  152.  
  153. .sched_link a{
  154.     --color-text:color-mix(in srgb, var(--test-color) 60%, var(--text-adjusted) 40%);
  155.     color:var(--color-text);
  156.    
  157. }
  158. .sched_link a:hover{
  159.         color:color-mix(in srgb, var(--color-text) 70%, white 30%);
  160. }
  161.  
  162. .sched_icon{
  163.     /*display:none;*/
  164. }
Advertisement
Add Comment
Please, Sign In to add comment