Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* maziekeen's theme 214 - UPDATE TAB CSS PART (dark)
- accordion (update toggle) by codepen.io/vinsongrant/pen/qbGKed
- GUIDE HOW TO CUSTOMIZE
- ----------------------------
- ALL THE COLORS
- - GENERAL COLOR
- body text, italic, bold, links: will match your color theme
- - THE 'PLUS' ICON before the title
- find the class name: .update-title:after, .update-title:before {
- change the color in: background-color: #8be9fd
- - TITLE USED INSIDE THE CONTENT
- find the class name: .update-inside-title {
- change the color in: color:#6272a4
- - EFFECT ON THE TITLE ONCE YOU CLICKED
- find the class name: .update-toggle:checked + .update-title, .update-toggle:checked + .update-title a {
- change the color in: color:#8be9fd
- - BACKGROUND COLOR OF THE CONTENT
- find the class name: .update-toggle:checked + .update-title + .update-content {
- change the color in: background:#282a36 (to change the text color inside, just add color:#b6bad1;)
- - BORDERS
- find the class name: .update-toggle:checked + .update-title + .update-content {
- change the color in: outline:1px solid #343745
- you also need to change the color to the same in .update-content {
- maziekeen's theme 214 - UPDATE TAB CSS PART */
- .update-container {
- max-width:240px; /* same width of .update-toggle:checked + .update-title + .update-content */
- top:65px;
- left:25px;
- position:fixed;
- margin: 5px auto 0px;
- box-sizing:border-box;
- z-index:11;
- background-color:transparent;
- }
- .update-toggle {
- display: none;
- }
- .update-option { /* this is each option you add */
- position: relative;
- margin-bottom:5px;
- }
- .update-option, .update-title label a {
- display: inline-block;
- text-align: left;
- padding-left:15px;
- }
- .update-button {
- display:block;
- border:none;
- padding: 7px 10px;
- margin:7px 0px;
- background:var(--sidebarBackgroundColor);
- color:var(--bodyLinkColor);
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- }
- .update-button a {
- font-weight:bold;
- }
- .update-title { /* title of the option */
- cursor:pointer;
- font-style:italic;
- }
- .update-title,
- .content {
- backface-visibility: hidden;
- transform: translateZ(0);
- transition: all 0.2s;
- }
- .update-title:after, .update-title:before { /* the plus "icon" */
- content: "";
- position: absolute;
- left: 5px;
- top:4.2px;
- width: 2px;
- height: 8px;
- background-color:var(--bodyLinkColor);
- transition: all 0.2s;
- cursor:auto;
- }
- .update-title:after {
- transform: rotate(90deg);
- }
- .update-inside-title { /* title used inside the content */
- font-weight: bold;
- color:var(--boldColor);;
- margin:5px 0px;
- }
- .update-inside-title a {
- font-weight: bold;
- }
- .update-content { /* content that appears when you click */
- max-height: 0;
- padding:0px 5px;
- outline:0px solid #eaeaea; /* change the color to the same on .update-toggle:checked + .update-title + .update-content */
- overflow: hidden;
- transition:all 0.3s;
- }
- .update-content li {
- line-height:13px;
- margin-bottom:4px;
- }
- .update-toggle:checked + .update-title, .update-toggle:checked + .update-title a { /* effect on title once you clicked */
- font-weight:bold;
- color:#f5b03;
- }
- .update-toggle:checked + .update-title + .update-content { /* effect on the content once you clicked */
- outline:1px solid #eaeaea;
- background:#fbfbfb;
- text-align:left;
- max-height: 100vh;
- width:240px; /* size of the content, adjust as you wish but also change the max-width in .update-container */
- padding:0px 5px;
- margin: 5px 0px 0px;
- z-index:1;
- transition:all 0.3s;
- }
- .update-toggle:checked + .update-title:before {
- transform: rotate(90deg) !important;
- }
- /* maziekeen's theme 214 - UPDATE TAB CSS PART (dark) */
- /* tylergaciaposey's theme 203
- css part */
- .nav_container {
- width:100%;
- overflow: hidden;
- margin:0 auto;
- padding:2px;
- }
- .box_left {
- width:50%;
- overflow: hidden;
- float:left;
- padding:10px;
- box-sizing: border-box;
- }
- .box_right {
- width:50%;
- overflow: hidden;
- float:right;
- padding:10px;
- box-sizing: border-box;
- }
- .nav_title {
- font-weight:bold;
- color:var(--boldColor);
- margin:2px 0 3px;
- padding:0 0 5px;
- }
- .nav_title:after {
- width:100px;
- content:'';
- border-bottom:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- display:block;
- margin:5px 0;
- }
- .nav_list {
- margin:0 0 2px 5px;
- }
- .nav_list::before {
- content: '\e09a';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 50%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .nav_list:hover:before {
- color:var(--bodyLinkHoverColor);
- }
- .nav_paragraph {
- margin:7px 0;
- }
- .nav_separator {
- clear:both;
- width:100%;
- display:block;
- border-bottom:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- margin:25px 0;
- padding:0 0 25px;
- }
- /* tags aka links lis */
- .nav_tags_title1 {
- font-weight:bold;
- margin:2px 10px 3px;
- padding:0 0 5px;
- }
- .nav_tags_title1:after {
- width:100px;
- content:'';
- border-bottom:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- display:block;
- margin:5px 0;
- }
- .nav_tags_title {
- margin:3px 0 3px;
- padding:0 0 5px;
- font-weight:bold;
- color:var(--boldColor);
- }
- .nav_tags_title:after {
- content:'';
- border-bottom:0px dotted #e2e2e2;
- }
- .nav_tags_box {
- height:180px;
- width:33.3%;
- margin-bottom:25px;
- overflow: hidden;
- float:left;
- padding:10px;
- box-sizing: border-box;
- overflow-y:auto;
- overflow-x:hidden;
- }
- .nav_tags_list {
- margin:0 0 2px 5px;
- }
- .nav_tags_list::before {
- content: '\e09a';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 50%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .nav_tags_list:hover:before {
- color:var(--bodyLinkHoverColor);
- }
- .mcredit {
- float:right;
- right:5px;
- bottom:18px;
- padding:5px;
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- background-color: #fff;
- }
- .mcredit a {
- text-transform:lowercase;
- text-align:center;
- font-size:10px;
- font-family:'Open Sans', Calibri, sans-serif;
- padding:3px;
- font-style:normal;
- padding:3px;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- /* tylergaciaposey's theme 203
- css part */
- <!-- maziekeen's theme 214 - UPDATE TAB HTML PART -->
- <div class="update-container"> <!-- start of the update toggle / do not remove -->
- <div class="update-option"> <!-- copy from here to add a new option -->
- <input type="checkbox" id="update-toggle1" class="update-toggle" />
- <label class="update-title" for="update-toggle1"><a>things to do </a></label>
- <div class="update-content"> <!-- content inside the update, edit as you wish using html markup / do not remove -->
- <ul>
- <div class="update-inside-title">psds</div>
- <li>
- <a href="https://maziekeen.tumblr.com/post/619230040934236160"><s>psd tutorial (two parts)</s></a>
- </li>
- <li>for photoshoots</li>
- </ul>
- <ul>
- <div class="update-inside-title">theme</div>
- <li>new navigation/faq/tags page</li>
- <li><a href="https://maziekeen.tumblr.com/post/625181941431500800/"><s>make update tab</s></a></li>
- <li>all in one page</li>
- </ul>
- </div> <!-- end of content inside the update / do not remove -->
- </div> <!-- end of the option -->
- <div class="update-option"> <!-- copy from here to add a new option -->
- <input type="checkbox" id="update-toggle2" class="update-toggle" />
- <label class="update-title" for="update-toggle2"><a>watch list </a></label>
- <div class="update-content"> <!-- content inside the update, edit as you wish using html markup / do not remove -->
- <ul>
- <div class="update-inside-title">watching</div>
- <li>wynonna earp s04 </li>
- <li>she ra s03</li>
- <li>atla s02 </li>
- <li>roswell new mexico s01 </li>
- <li>doctor who s03</li>
- </ul>
- <ul>
- <div class="update-inside-title">start</div>
- <li>lucifer s05</li>
- <li>gatunas s02</li>
- <li>legends of tomorrow s05</li>
- </ul>
- <ul>
- <div class="update-inside-title">continue/finish</div>
- <li>arrow s07</li>
- <li>supergirl s04</li>
- <li>the flash s05</li>
- </ul>
- </div> <!-- end of content inside the update / do not remove -->
- </div> <!-- end of the option -->
- <div class="update-option"> <!-- copy from here to add a new option -->
- <button class="update-button"><a href="http://dailyresources.tumblr.com/" title="check out my resources blog!">@dailyresources</a></button>
- <button class="update-button"><a href="https://ko-fi.com/luciane" title="if you like my content and would like to support me, i'd be very grateful! (◡‿◡✿)">buy me a coffee?</a></button>
- </div> <!-- end of the option -->
- </div> <!-- end of the update toggle / do not remove -->
- <!-- maziekeen's theme 214 - UPDATE TAB HTML PART -->
Advertisement
Add Comment
Please, Sign In to add comment