You are on page 1of 18

/*

Theme Name: portknow


Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portknow
Tags:
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
portknow is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*------------------------------------------------------------->>> TABLE OF CONTENTS:
---------------------------------------------------------------# Gathering
# Text Manipulation
# Alignments
# Widgets
# Normalize
.inputan
# MENUS
# FORM
# Clearings
# Accessibility
# Content
## Posts and pages
## Asides
## Comments
# Infinite scroll
# Media
## Captions
## Galleries
--------------------------------------------------------------*/
/*
-----------------------#variable global
-----------------------*/
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,500,700);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,300italic);

$basefont : "source-sans-pro","Helvetica Neue",Helvetica,Arial,sans-serif;


$basefont2 :'Open Sans',Arial,Helvetica Neue,sans-serif;
$color1 : #1a0046;

@import 'mixins';
@import 'tambah';
@import 'catcolor';
@import 'loginpopup';
@import 'wppb';
@import 'flickity';
/*-------------------------------------------------------------# Gathering
--------------------------------------------------------------*/
.subsup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
.blockdisp,
article, aside, details, figcaption, figure, footer,
header, main, menu, nav, section, summary {
display: block;
}
.blockmedia,
audio, canvas, progress, video {
display: inline-block;
vertical-align: baseline;
}
.inputan {
color: white;
font-family: $basefont2;
font-size: 16px;
font-size: 1rem;
-webkit-font-smoothing: antialiased;
letter-spacing: 0.3px;
text-align:justify;
line-height: 1.5;
margin: 0;
}
.btappear {
// -webkit-appearance: button;
cursor: pointer;

}
.site-content {
font : 300 20px/35px 'Roboto';
}
// .entry-meta { display:none;}
// -----------------------------------------------------audio:not([controls]) {
display: none;
height: 0;
}
[hidden], template { display: none; }
abbr[title] {
border-bottom: 1px dotted;
}
button[disabled],
html input[disabled] {
cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/*---------------------------------------------------------# Text Manipulation
----------------------------------------------------------*/
.bold,
b, strong {
font-weight: bold;
}
.italic,
dfn, cite, em, i{
font-style: italic;
}
.sup,
sup {
@extend .subsup;
top: -0.5em;
}

.sub,
sub {
@extend .subsup;
bottom: -0.25em;
}
mark { // ------------- huruf yang di mark
background: #ff0;
color: #000;
}
small {font-size: 80%;}
big {font-size: 125%;}
samp, code, kbd, tt, var {
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
font-size: 15px;
font-size: 0.9375rem;
}
pre {
font-family: "Robot";
font-size: 15px;
font-size: 0.9375rem;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1.6em;
overflow: auto;
}
blockquote, q {
margin: 0 1.5em;
quotes: "" "";
&:after, &:before {
content: "";
}
}
address { margin: 0 0 1.5em;}
abbr, acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
mark, ins {

background: #fff9c0;
text-decoration: none;
}
h1 {
margin: 0.67em 0;
font: 400 40px 'Roboto Condensed';
}
hr {
box-sizing: content-box;
border: 0;
background-color: #ccc;
height: 1px;
margin-bottom: 1.5em;
}
td, th { padding: 0;}
p { margin-bottom: 1.5em; }
a{
background-color: transparent;
text-decoration:none;
&:active, &:hover {
outline: 0;
color: #7b0266;
}
&:focus {
outline: thin dotted;
color: #7b0266;
}
&:visited {
color: #0905cc;
}
}
/*-------------------------------------------------------------# Alignments
--------------------------------------------------------------*/
.alignleft {
display: inline;
float: left;
margin-right: 1.5em;
}

.alignright {
display: inline;
float: right;
margin-left: 1.5em;
}
.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
/*-------------------------------------------------------------# Widgets
--------------------------------------------------------------*/
.widget { margin: 0 0 1.5em;}
/* Make sure select elements fit in widgets. */
.widget select {max-width: 100%;}
/*-------------------------------------------------------------# Normalize
--------------------------------------------------------------*/
html {
box-sizing: border-box;
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage
other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-bestpractice/ */
box-sizing: inherit;
}
body {
@extend .inputan;
//awal background: linear-gradient(74deg, #000000, #6900bf, #004dce);
background:#3a74b7;
background: linear-gradient(180deg, #a353e4, #3a74b7, #3a74b7, #a353e4);
background-size: 800% 800%;
@include animation (bganimation 30s infinite);
@include keyframes (bganimation) {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}

/* awal

0%{background-position:93% 0%}
50%{background-position:0% 100%}
100%{background-position:93% 0%} */
}
margin: 0;
// background: #fff; /* Fallback for when there is no custom background color defined. */
}

svg:not(:root) { overflow: hidden;

figure { margin: 1em 40px; }


img {
border: 0;
height: auto; /* Make sure images are scaled correctly. */
max-width: 100%; /* Adhere to container width. */
}
table {
border-collapse: collapse;
border-spacing: 0;
margin: 0 0 1.5em;
width: 100%;
}
$listmargin : 0 0 1.5em 3em;
ul {
margin : $listmargin;
list-style: disc;
}
ol {
margin : $listmargin;
list-style: decimal;
}
li {
> ul, > ol {
margin-bottom: 0;
margin-left: 1.5em;
}
}
dt { font-weight: bold; }
dd { margin: 0 1.5em 1.5em;}
// ----------------- .inputan --------------------

textarea {
@extend .inputan;
@extend .form_class_input;
overflow: auto;
width: 100%;
}
optgroup {
@extend .inputan;
font-weight: bold;
}
button {
@extend .inputan;
@extend .btappear;
@extend .form_class;
text-transform : none;
overflow: visible;
&:hover{
@extend .form_class_hover;
}
&:active, &:focus {
@extend .form_class_fca;
}
}
select {
@extend .inputan;
text-transform : none;
border: 1px solid #ccc;
}
input {
@extend .inputan;
line-height: normal;
&[type="button"],
&[type="reset"],
&[type="submit"] {
@extend .btappear;
@extend .form_class;
&:hover {
@extend .form_class_hover;
}
&:active, &:focus {
@extend .form_class_fca;
}
}

&[type="checkbox"],
&[type="radio"] {
box-sizing: border-box;
padding: 0;
}
&[type="number"]::-webkit-inner-spin-button,
&[type="number"]::-webkit-outer-spin-button {
height: auto;
}
&[type="search"]::-webkit-search-cancel-button,
&[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
/*-------------------------------------------------------------# MENUS
--------------------------------------------------------------*/
.navigation-class {
float: left;
ul,li{
// display: block;
list-style: none;
margin: 0;
padding-left: 0;
transition: all 0.5s;
}
li:hover {
background-color: rgba(0, 0, 0, 0.6);
}
a{
display: block;
width: 100%;
height: 100%;
text-decoration: none;
// font-family: $basefont;

color: #FDFDFD;
// font-size: 13px;
font:400 13px/30px 'Roboto';
}
}
.nav-first {
> span {
height: 64px;
width :100% !important;
display: table-cell;
vertical-align: middle;
padding-left: 15px;
position: relative;
#nav-first-title{
@extend .hover_op;
display: inline;
font-family: $basefont;
font-size: 25px;
line-height: 0.8;
letter-spacing: 2px;
font-weight: 300;
font-size: 15px;
font-variant: normal;
}
&:after {
content: ' ';
color: #989595;
}
&:hover {
cursor: pointer;
font-style: normal;
&:after {
content: ' ';
color: #3E3B3B;
}
}
}
}
.menu-primary-container {
// transition: all 2s;
display: none;
background-color: rgb(26, 0, 70);
position: absolute;
left: 26px;
top: 62px;
z-index: 999;
&:before {

content: "";
display: block;
width: 0;
height: 0;
border-left: 16px solid transparent;
border-right: 16px solid transparent;
border-bottom: 26px solid rgba(24, 6, 56, 0.98);
position: absolute;
left: 27px;
top: -25px;
}
> ul {
width:160px;
height: auto;
li {
position: relative;
height: auto;
padding: 8px 15px;
ul {
display: none;
position:absolute;
top:0px;
left: 160px;
background-color: #411bb3;
width: 130px;
li{
border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}
}
&:hover {
ul {
display: block;
}
}
}
}
}
.menu-secondary-container {
padding-left:10px;
ul {
height: 50px;
li {
float: left;
height: 50px;
display: table;
position: relative;

a{
color : #6865cb;
font:700 15px/30px 'Roboto';
display: table-cell;
vertical-align: middle;
padding:0px 10px;
}
a:after {margin-left: 5px; content: '\25bf';}
a:hover:after {margin-left: 5px; content: '\25C8';}
a:only-child:after { margin-left: 0; content: '';}
ul {
display: none;
position:absolute;
z-index: 99;
top:50px;
left:0px;
background-color: #411bb3;
width: 200px;
height: auto;
li {
height: 40px;
width: 100%;
a{
color : #6865cb;
font:700 15px/30px 'Roboto';
display: table-cell;
vertical-align: middle;
padding:0px 10px;
}
}
}
&:hover {
ul {
display: block;
}
}
}
}
}
/* Small menu. */
/*
@media screen and (min-width: 37.5em) {
.menu-toggle {
display: none;
}
.main-navigation ul {
display: block;
}

}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
margin: 0 0 1.5em;
overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
float: left;
width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
float: right;
text-align: right;
width: 50%;
}
*/

/*-------------------------------------------------------------# FORM
--------------------------------------------------------------*/
.form_class {
background: #411bb3;
/* background-image: -webkit-linear-gradient(top, #411bb3, #2e1c66);
background-image: -moz-linear-gradient(top, #411bb3, #2e1c66);
background-image: -ms-linear-gradient(top, #411bb3, #2e1c66);
background-image: -o-linear-gradient(top, #411bb3, #2e1c66);
background-image: linear-gradient(to bottom, #411bb3, #2e1c66); */
// -webkit-border-radius: 3;
// -moz-border-radius: 3;
// border-radius: 3px;
font-family: $basefont;
color: #ffffff;
font-size: 14px;
padding: 6px 12px 6px 12px;
text-decoration: none;
// line-height: normal;
border:none;
transition: all 0.5s;
}

.form_class_hover {
background: $color1;
}
.form_class_fca {
outline: -webkit-focus-ring-color auto 0px !important;
}
.form_class_input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"], {
color: #666;
border: 2px solid rgba(26, 0, 70, 0.85);
padding: 3px;
&:focus{
outline: -webkit-focus-ring-color auto 0px;
}
}
/*-------------------------------------------------------------# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
content: "";
display: table;

table-layout: fixed;
}
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
h1, h2, h3,h4,h5,h6{
clear: both;
}
h2,h3 {
font: 400 30px 'Roboto Condensed';
}
/*-------------------------------------------------------------# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
&:focus {
background-color: #f1f1f1;
border-radius: 3px;
// box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
color: #21759b;
display: block;
font-size: 14px;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; /* Above WP toolbar. */
}
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}

/*-------------------------------------------------------------# Content
--------------------------------------------------------------*/

/*-------------------------------------------------------------## Posts and pages


--------------------------------------------------------------*/
.sticky { display: block;}
.hentry {

margin: 0 0 1.5em;}

.byline,
.updated:not(.published) {

display: none;}

.single .byline,
.group-blog .byline { display: inline;}
.page-content,
.entry-content,
.entry-summary { margin: 1.5em 0 0; }
.page-links {
clear: both;
margin: 0 0 1.5em;
}
/*-------------------------------------------------------------## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
display: none;
}
/*-------------------------------------------------------------## Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word;}
.bypostauthor {display: block;}
/*-------------------------------------------------------------# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
display: none; }
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via

.neverending) before. */
.infinity-end.neverending .site-footer {display: block; }
/*-------------------------------------------------------------# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object { max-width: 100%;}
/*-------------------------------------------------------------## Captions
--------------------------------------------------------------*/
.wp-caption {
margin-bottom: 1.5em;
max-width: 100%;
img[class*="wp-image-"] {
display: block;
margin-left: auto;
margin-right: auto;
}
}
.wp-caption-text {
text-align: center;
.wp-caption{
margin: 0.8075em 0;
}
}
/*-------------------------------------------------------------## Galleries
--------------------------------------------------------------*/
.gallery {
margin-bottom: 1.5em;
}
.gallery-item {
display: inline-block;
text-align: center;
vertical-align: top;

width: 100%;
}
.gallery-columns-2 .gallery-item {
max-width: 50%;
}
.gallery-columns-3 .gallery-item {
max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
max-width: 25%;
}
.gallery-columns-5 .gallery-item {
max-width: 20%;
}
.gallery-columns-6 .gallery-item {
max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
max-width: 11.11%;
}
.gallery-caption {
display: block;
}
//- --------------------------------------@import 'respon1';
@import 'respon2';

You might also like