/ittf/css/cheatsheet.css.ittf (primary)
1 css2 $3 var opt = {4 sidebar_1: true,5 sb_1_min_w: 60,6 debug_css: false7 };8 var l_mc_top = 48;9 var l_mc_sub_top = 125;10 var l_mc_top_mobile = 7; // rem11 var l_mc_sub_top_mobile = 7; // rem12 var c_0 = "#fff";13 var c_bg_0 = "#000";14 var c_tn_bg_0 = "#333";15 var c_tn_bg_sub = "#666";16 var c_tn_bg_logo_hover = "#066";17 var c_tn_bg_li_mobile = "#999";18 var c_tn_bg_bar = "#fff";19 var c_tn_1 = "#fff";20 var c_tn_2 = "#f44";21 var c_tn_bg_f_0 = "#000";22 var c_mc_bg_frame_bar = c_tn_bg_sub;23 var c_mc_frame_bar = c_tn_bg_bar;24 < h1, h2, h3, h4, h5, h625 margin 026 < h327 font-size 18px28 . wrapper29 font-family arial, verdana30 font-size 15px31 padding 2rem32 . head-bar-item33 display flex34 flex-direction column35 border 1px solid #22236 margin-bottom 2rem37 . head-bar-title38 padding 0.2rem 2rem39 background-color #015ba040 color #fefefe41 . head-bar-value42 padding 0.5rem 2rem43 text-align center44 font-size 1.5rem45 . code-title46 margin 30px 047 padding-top 10px48 border-top 1px solid hsl(0, 0%, 87%)49 color #fefefe50 $include prettyprint51 $include tn52 $include mc
/ittf/css/t/prettyprint.css.ittf
1 $group2 - ========================================3 - WIZZI PRETTY PRINT4 - t/css/wz/prettyprint.css.ittf5 - ------------------------------------6 . pln7 color #F1F2F38 . tag9 color #AAFF0010 . str11 color #EC760012 . kwd13 color #f7925614 . com15 color #66747B16 . typ17 color #678CB118 . lit19 color #FACD2220 . mix21 color #ff004022 cursor pointer23 . tag24 color #8AC76325 . atn26 color #E0E2E427 . atv28 color #EC760029 . expr30 color #f3e87731 . fun32 color red33 . arg34 color yellow35 . pp-ln36 color #99937 . pp-pln38 color #EEE39 . pp-str40 color #EC760041 . pp-kwd42 color #f7925643 . pp-com44 color #66747B45 . pp-typ46 color #678CB147 . pp-lit48 color #FACD2249 . pp-mix50 color #ff004051 cursor pointer52 . pp-tag53 color #50fa7b54 . pp-atn55 color #E0E2E456 . pp-atv57 color #EC760058 . pp-expr59 color #f3e87760 . pp-fun61 color red62 . pp-arg63 color yellow64 . code-title::before65 content ''66 position relative67 left -16px68 border-left 2px solid #3391FE69 . code-panel70 margin-bottom 1em71 margin-top 1em72 . code-prettyprint73 font-size 13px74 border 1px solid #ddd75 border-radius 3px76 box-shadow 0 1px 3px hsla(0, 0%, 0%, 0.05)77 overflow auto78 . code-prettyprint.source79 width inherit80 . code-prettyprint > code81 padding 15px82 . code-prettyprint code83 font-size 100%84 line-height 18px85 display block86 background-color #3e383d87 color #cDcEc388 < pre89 background #fff90 padding 0px91 margin 092 < pre code93 padding 094 font-size inherit95 color inherit96 white-space pre-wrap97 background-color transparent98 border-radius 099 < pre.prettyprint100 overflow auto101 background #3e383d102 text-shadow 0 1px #888103 font-family Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace104 text-align left105 white-space pre106 word-spacing normal107 word-break normal108 word-wrap normal109 line-height 1.5110 tab-size 4111 hyphens none112 < ol113 padding-left 2rem114 . L0115 + .L1116 + .L2117 + .L3118 + .L4119 + .L5120 + .L6121 + .L7122 + .L8123 + .L9124 color #777125 margin-left 1rem126 padding-left 1rem127 list-style-type decimal128 # Alternate shading for lines129 . L1130 + .L3131 + .L5132 + .L7133 + .L9134 background #555135 . prettyprint-js136 background #fff137 # Alternate shading for lines138 . J1139 + .J3140 + .J5141 + .J7142 + .J9143 background #ddd144 . linenums145 color #fff146 media screen and (max-width: 1028px)147 . pp-pln148 color #FFF149 < pre.prettyprint150 padding 1.2rem151 border-left 5px solid #999152 font-size 2rem153 line-height 3rem154 overflow
/ittf/css/t/tn.css.ittf
1 $group2 # tn-input-toggle3 display none4 . tn-bar5 - We ensure that the navigation stays at the top of the browser window by giving it a position: fixed property.6 - Setting its width to min-width: 100% will ensure that the navigation spans the full width of the browser window.7 background-color ${c_tn_bg_bar}8 position fixed9 min-width 100%10 . tn-main11 - flex for logo and menu UL12 display flex13 align-items center14 - space-between evenly distributes the child elements within the parent flex container15 justify-content space-between16 padding 0 2%17 < ul18 display flex19 justify-content space-between20 list-style-type none21 - width is required for justify-content to take effect22 width 60%23 < li24 display inline-block25 padding 1rem26 font-size 1.6rem27 color ${c_tn_bg_0}28 < a29 text-decoration none30 & :hover31 color ${c_tn_2}32 . tn-pageSelected33 background-color ${c_tn_bg_sub}34 color ${c_tn_bg_bar}35 < a36 color ${c_tn_bg_bar}37 & :hover38 color ${c_tn_bg_bar}39 . tn-label-toggle40 display none41 . tn-label-toggle-close42 display none43 . tn-subPages44 background-color ${c_tn_bg_sub}45 padding 0 2rem46 margin 0 auto47 < ul48 display flex49 justify-content space-between50 list-style-type none51 width 60%52 < li53 display inline-block54 padding 0.4rem55 font-size 1.3rem56 < a57 color ${c_tn_bg_bar}58 text-decoration none59 & :hover60 color ${c_tn_2}61 . tn-subPageSelected62 background-color ${c_tn_bg_bar}63 color ${c_tn_bg_bar}64 < a65 color ${c_tn_bg_sub}66 & :hover67 color ${c_tn_bg_sub}68 . tn-subPages_mobile69 display none70 . mainContent71 media screen and (max-width: 1028px)72 . tn-bar73 padding 2.5rem 074 . logo75 display inline-block76 . tn-main77 display block78 . logo79 < img80 width 200px81 height 90px82 margin -24px 083 < ul84 background-color ${c_tn_bg_0}85 display block86 list-style-type none87 opacity 088 text-align center89 width 100%90 display none91 margin-top 2rem92 < li93 border-bottom 2px solid ${c_tn_bg_bar}94 color ${c_tn_bg_bar}95 display block96 font-size 3rem97 padding 2rem 098 < a99 color ${c_tn_bg_bar}100 . tn-pageSelected101 display block102 . tn-subPages103 display none104 . tn-subPages_mobile105 display block106 . tn-label-toggle107 background linear-gradient( to bottom, ${c_tn_bg_0} 0%, ${c_tn_bg_0} 15%, transparent 15%, transparent 35%, ${c_tn_bg_0} 35%, ${c_tn_bg_0} 50%, transparent 50%, transparent 70%, ${c_tn_bg_0} 70%, ${c_tn_bg_0} 85%, transparent 85%, transparent 100%)108 cursor pointer109 display block110 float right111 height 35px112 margin-top 1rem113 width 35px114 # wrapper115 flex-direction column116 position relative117 margin 10px118 height auto119 width 100%120 # wrapper-sub121 # tn-input-toggle:checked ~ .tn-bar122 height 100vh123 overflow-y scroll124 . tn-main ul125 opacity 1126 visibility visible127 display block128 < li .tn-subPages_mobile ul129 margin-top 0.5rem130 background-color ${c_tn_bg_li_mobile}131 < li132 font-size 2rem133 padding 2rem 0134 # tn-input-toggle:checked ~ .tn-bar .tn-label-toggle135 display none136 # tn-input-toggle:checked ~ .tn-bar .tn-label-toggle-close137 color ${c_tn_bg_0}138 font-size 70px139 cursor pointer140 display block141 float right142 height 35px143 margin-top 0.2rem144 width 35px145 # tn-input-toggle:checked ~ #mc-wrapper146 display none
/ittf/css/t/mc.css.ittf
1 $group2 -3 - Main Content (mc)4 -5 # mc-wrapper6 position fixed7 width 100%8 $if opt.debug_css9 border 1px solid blue10 . mc-wrapper-layout11 top ${l_mc_top}px12 height calc(100% - ${l_mc_top + 10}px)13 . mc-wrapper-layout-sub14 top ${l_mc_sub_top}px15 height calc(100% - ${l_mc_sub_top + 1}px)16 . mc-frame-bar17 width calc(100% - ${opt.sb_1_min_w}px)18 height 40px19 background #545f5820 display flex21 flex-direction row22 . mc-frame-bar-item23 color #fff24 padding 5px 20px25 font-size 24px26 media screen and (min-width: 1000px)27 . mc-frame28 padding-left 18rem29 media screen and (min-width: 750px)30 . mc-frame31 padding-left 16.5rem32 padding-top 6.25rem33 $if false34 . mc-sidebar-left35 padding 20px 30px36 overflow auto37 < ul38 display flex39 justify-content space-between40 flex-direction column41 list-style-type none42 transition all 1s ease43 < li44 border-bottom 1px solid ${c_0}45 color ${c_0}46 display block47 font-size 0.8rem48 padding 0.3rem 0 0.3rem 1rem49 < a50 color ${c_0}51 < li:last-child52 border-bottom 053 . mc-sidebar-left54 border 0px55 bottom 0rem56 display block57 height 100%58 top 0rem59 overflow-y auto60 transition opacity 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s61 width 320px62 z-index 999963 opacity 064 pointer-events none65 < ul66 display flex67 justify-content space-between68 flex-direction column69 list-style-type none70 transition all 1s ease71 < li72 border-bottom 1px solid ${c_0}73 color ${c_0}74 display block75 font-size 0.8rem76 padding 0.3rem 0 0.3rem 0.3rem77 < a78 color ${c_0}79 < ul80 @ padding-inline-start 10px81 < li:last-child82 border-bottom 083 media (min-width: 750px)84 . mc-sidebar-left85 max-width none86 pointer-events auto87 width 16.5rem88 opacity 1 !important89 . mc-sidebar-left-title90 display none91 . mc-content92 padding 20px 20px93 overflow auto94 . mc-pane95 width 100%96 < h297 font-size 2rem98 font-weight 70099 margin 2rem 0 0 0100 < h3101 font-size 1.4rem102 font-weight 700103 margin 1.5rem 0 0 0104 < h4105 font-weight 700106 margin 0.5rem 0 -3px 0107 < p108 line-height 1.3rem109 margin-bottom 0.5rem110 < ul111 list-style-type disc112 padding-left 2rem113 < input[id^='mc-toggle-']114 display none115 . mc-label-toggle116 display none117 cursor pointer118 . mc-label-toggle-close119 display none120 media screen and (max-width: 1028px)121 # mc-wrapper122 . mc-frame123 display block124 . mc-sidebar-left125 < ul li126 font-size 3rem127 border-bottom 2px solid ${c_0}128 padding 2rem 0129 < ul li:last-child130 border-bottom 0131 . mc-wrapper-layout132 top ${l_mc_top_mobile}rem133 height calc(100% - ${l_mc_top_mobile + 1}rem)134 . mc-wrapper-layout-sub135 top ${l_mc_sub_top_mobile}rem136 height calc(100% - ${l_mc_sub_top_mobile + 10}rem)137 . mc-frame-bar138 display flex139 flex-direction row140 justify-content space-between141 background-color ${c_mc_bg_frame_bar}142 color ${c_mc_frame_bar}143 margin 1rem144 padding 1.5rem 1rem145 . mc-label-toggle146 display block147 . mc-item-link148 display none149 . mc-pane150 display none151 font-size 1.1rem152 < h2153 font-size 1.6rem154 font-weight 500155 margin 1.5rem 0 0 0156 < h3157 font-size 1.3rem158 font-weight 500159 margin 1.2rem 0 0 0160 < h4161 font-weight 500162 margin 1rem 0 -3px 0163 < p164 line-height 2rem165 margin-bottom 1rem166 . mc-content167 height calc(100% - 60px)168 margin 10px169 padding 20px 40px170 . mc-content-title171 display none172 # mc-toggle-toc:checked ~ .mc-frame .mc-sidebar-left173 display none174 # mc-toggle-toc:checked ~ .mc-frame .mc-label-toggle-close175 font-size 70px176 cursor pointer177 display block178 height 35px179 width 35px