Clean up broken duckquill submodule references
This commit is contained in:
parent
84c80eceaa
commit
0d597798c8
322 changed files with 30223 additions and 4137 deletions
|
@ -1,61 +0,0 @@
|
|||
.co-container {
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
.callout {
|
||||
a:hover {
|
||||
color: var(--hover-color);
|
||||
}
|
||||
background-color: var(--code-bg-color);
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
padding: .6em;
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
color: var(--co-icon)
|
||||
}
|
||||
.co-body {
|
||||
line-height: 1.5em;
|
||||
font-size: 1em;
|
||||
}
|
||||
.co-img {
|
||||
float: left;
|
||||
text-align: right;
|
||||
padding-right: 1em;
|
||||
height: 1em;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
svg {
|
||||
height: 1.3em;
|
||||
width: 1.3em;
|
||||
fill: var(--font-color);
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
&.warning {
|
||||
border: 1px solid var(--co-warning);
|
||||
border-left: 8px solid var(--co-warning);
|
||||
svg {
|
||||
fill: var(--co-warning)
|
||||
}
|
||||
}
|
||||
&.alert {
|
||||
border: 1px solid var(--co-alert);
|
||||
border-left: 8px solid var(--co-alert);
|
||||
svg {
|
||||
fill: var(--co-alert)
|
||||
}
|
||||
}
|
||||
&.info {
|
||||
border: 1px solid var(--co-info);
|
||||
border-left: 8px solid var(--co-info);
|
||||
svg {
|
||||
fill: var(--co-info)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,79 +0,0 @@
|
|||
pre {
|
||||
background: var(--code-bg-color);
|
||||
padding: 1.5em;
|
||||
// margin: 1.5em;
|
||||
code, span {
|
||||
font-family: monospace;
|
||||
font-size: 1rem;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
span .z-key span {
|
||||
color: var(--code-kw-color);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
pre[data-linenos] {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
pre table td {
|
||||
padding: 0;
|
||||
}
|
||||
pre table td:nth-of-type(1) {
|
||||
text-align: center;
|
||||
user-select: none;
|
||||
}
|
||||
pre mark {
|
||||
display: block;
|
||||
}
|
||||
pre table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.z-keyword, .z-entity, .z-function, .z-option {
|
||||
font-weight: bold;
|
||||
color: var(--code-kw-color);
|
||||
}
|
||||
.z-qualified-name .z-storage {
|
||||
color: var(--code-fg-color);
|
||||
}
|
||||
.z-generic-name {
|
||||
color: var(--code-fg-color);
|
||||
}
|
||||
.z-string {
|
||||
color: var(--code-string-color);
|
||||
}
|
||||
.z-comment {
|
||||
color: var(--code-comment-color);
|
||||
}
|
||||
.z-variable.z-readwrite {
|
||||
color: var(--code-string-color);
|
||||
}
|
||||
|
||||
.icon-copy {
|
||||
mask: url('../icons/copy.svg');
|
||||
&.clicked {
|
||||
mask: url('../icons/copied.svg');
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
border-radius: .5em;
|
||||
position: relative;
|
||||
.copybutton {
|
||||
outline: none;
|
||||
padding: .4em;
|
||||
position: absolute;
|
||||
margin: .5em;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
&.icon-copy {
|
||||
mask-size: 20px;
|
||||
mask-repeat: no-repeat;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
@font-face {
|
||||
font-family: "Urbanist";
|
||||
src: url('../fonts/urbanist.ttf') format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Mulish";
|
||||
src: url('../fonts/mulish.ttf') format("truetype");
|
||||
}
|
||||
html,body {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
}
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
background-color: var(--bg-color);
|
||||
color: var(--main-color);
|
||||
}
|
||||
p {
|
||||
line-height: 1.2em;
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
}
|
||||
a:link, a:visited, a:active {
|
||||
color: var(--main-color);
|
||||
}
|
||||
a:hover {
|
||||
color: var(--hover-color);
|
||||
}
|
||||
svg {
|
||||
pointer-events: all;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6,b, strong {
|
||||
font-weight: 500;
|
||||
}
|
||||
.invis {
|
||||
color: var(--main-color);
|
||||
filter: opacity(0.6);
|
||||
}
|
||||
.pagination {
|
||||
text-align: center;
|
||||
font-size: .8em;
|
||||
a:link, a:visited, a:active {
|
||||
padding-top: .5em;
|
||||
padding-bottom: .5em;
|
||||
padding-left: .8em;
|
||||
padding-right: .8em;
|
||||
border-bottom: .2em solid var(--main-color);
|
||||
margin: .5em;
|
||||
}
|
||||
a:hover {
|
||||
color: var(--main-color);
|
||||
background-color: var(--hover-bg);
|
||||
svg:hover {
|
||||
fill: var(--hover-color);
|
||||
}
|
||||
}
|
||||
a.current {
|
||||
background-color: var(--hover-bg);
|
||||
}
|
||||
}
|
||||
.shares {
|
||||
ul {
|
||||
li {
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
padding: .5em;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
#footer-wrapper {
|
||||
border-top: 1px solid var(--main-color);
|
||||
}
|
||||
.footer-icons {
|
||||
float: right;
|
||||
padding-top: .3em;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
float: left;
|
||||
p {
|
||||
padding-top: .3em;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
|
@ -1,82 +0,0 @@
|
|||
#header-container {
|
||||
h1 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-weight: 300;
|
||||
}
|
||||
p {
|
||||
margin:0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#cIcon {
|
||||
float: right;
|
||||
}
|
||||
#searchBox {
|
||||
float: right;
|
||||
vertical-align: bottom;
|
||||
svg {
|
||||
fill: var(--main-color);
|
||||
padding-right: .5em;
|
||||
}
|
||||
input {
|
||||
appearance: none;
|
||||
font-family: var(--font-family);
|
||||
font-size: 1em;
|
||||
color: var(--main-color);
|
||||
background: none;
|
||||
outline: none;
|
||||
border: 1px solid var(--main-color);
|
||||
outline: none;
|
||||
transition: .5s;
|
||||
}
|
||||
}
|
||||
|
||||
#menu {
|
||||
float: left;
|
||||
}
|
||||
#top {
|
||||
border-bottom: 1px solid var(--main-color);
|
||||
padding-bottom: 1em;
|
||||
a:link, a:visited, a:active {
|
||||
font-size : 1.2em;
|
||||
padding-left: .5em;
|
||||
padding-right: .5em;
|
||||
padding-bottom: .9em;
|
||||
text-decoration: underline;
|
||||
border: 0;
|
||||
}
|
||||
a.active {
|
||||
background-color: var(--main-color);
|
||||
color: var(--bg-color);
|
||||
:hover {
|
||||
color: var(--bg-color);
|
||||
}
|
||||
|
||||
}
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
};
|
||||
li {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
#themeIcon {
|
||||
float: right;
|
||||
svg {
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
fill: var(--main-color);
|
||||
padding-left: .5em;
|
||||
cursor: pointer;
|
||||
:hover {
|
||||
fill: var(--hover-color)
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
.icon-search {
|
||||
mask: url('../icons/search.svg');
|
||||
}
|
||||
.icon-github {
|
||||
mask: url('../icons/github.svg');
|
||||
}
|
||||
.footer {
|
||||
&.icon {
|
||||
display: inline-block;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: middle;
|
||||
margin-left: .2em;
|
||||
}
|
||||
}
|
||||
.post-list {
|
||||
&.icon {
|
||||
display: inline-block;
|
||||
width: .8em;
|
||||
height: .8em;
|
||||
vertical-align: middle;
|
||||
margin-left: .25em;
|
||||
color: var(--main-color);
|
||||
filter: opacity(0.6);
|
||||
}
|
||||
}
|
||||
.head {
|
||||
&.icon {
|
||||
width: 1.4em;
|
||||
height: 1.4em;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
margin-left: .2em;
|
||||
margin-right: .2em;
|
||||
}
|
||||
}
|
||||
.shares {
|
||||
&.icon {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
}
|
||||
}
|
||||
.icon-gh {
|
||||
mask: url('../icons/gh.svg');
|
||||
}
|
||||
.icon-linkedin {
|
||||
mask: url('../icons/linkedin.svg');
|
||||
}
|
||||
.icon-fb {
|
||||
mask: url('../icons/fb.svg');
|
||||
}
|
||||
.icon-wa {
|
||||
mask: url('../icons/wa.svg');
|
||||
}
|
||||
.icon-tg {
|
||||
mask: url('../icons/tg.svg');
|
||||
}
|
||||
.icon-dark {
|
||||
mask: url('../icons/dark.svg');
|
||||
cursor: pointer;
|
||||
}
|
||||
.icon-light {
|
||||
mask: url('../icons/light.svg');
|
||||
cursor: pointer;
|
||||
}
|
||||
.closeBtn {
|
||||
margin: .5em;
|
||||
mask: url('../icons/close.svg');
|
||||
cursor: pointer;
|
||||
&.icon {
|
||||
height: 1.5em;
|
||||
width: 1.5em;
|
||||
// padding: 1em;
|
||||
:hover {
|
||||
fill: var(--hover-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
.icon-time {
|
||||
mask: url('../icons/time.svg');
|
||||
}
|
||||
.icon {
|
||||
display: inline-block;
|
||||
background: var(--main-color);
|
||||
mask-size: cover;
|
||||
}
|
||||
.icon:hover,
|
||||
.icon:focus {
|
||||
background: var(--hover-color);
|
||||
}
|
||||
.icon-time:hover,
|
||||
.icon-search:hover,
|
||||
.icon-search:focus {
|
||||
background: var(--main-color);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#index-text {
|
||||
font-size: 1.2em;
|
||||
font-weight: 300;
|
||||
}
|
||||
#flexbox {
|
||||
display: flex;
|
||||
align-items : center;
|
||||
}
|
||||
#index-image {
|
||||
text-align: center;
|
||||
display: block;
|
||||
img {
|
||||
border-radius: 50%;
|
||||
width: 75%;
|
||||
height: 75%;
|
||||
}
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
.mermaid {
|
||||
text-align: center;
|
||||
// margin: 0 auto;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
.content {
|
||||
min-height: 80vh;
|
||||
font-size: 1.2em;
|
||||
font-weight: lighter;
|
||||
ul {
|
||||
li {
|
||||
font-weight: 300;
|
||||
}
|
||||
}
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-right: 1px solid var(--main-color);
|
||||
border-bottom: 1px solid var(--main-color);
|
||||
th, td {
|
||||
padding: .5em;
|
||||
border-top: 1px solid var(--main-color);
|
||||
border-left: 1px solid var(--main-color);
|
||||
}
|
||||
th {
|
||||
background-color: var(--hover-bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
.post-tags {
|
||||
ul {
|
||||
padding: 0;
|
||||
li {
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
min-height: 80vh;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
|
||||
.toc {
|
||||
font-weight: normal;
|
||||
ul {
|
||||
padding-left: .5em;
|
||||
li{
|
||||
display: list-item;
|
||||
padding-left: .5em;
|
||||
font-size: 1em;
|
||||
line-height: 1.2em;
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.badges {
|
||||
padding: 1em;
|
||||
background-color: var(--code-bg-color);
|
||||
img {
|
||||
width: 6em;
|
||||
height: 6em;
|
||||
}
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
#sResults {
|
||||
position: relative;
|
||||
}
|
||||
.search-results {
|
||||
display: none;
|
||||
border-radius: .3em;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
text-align: left;
|
||||
right: 25em;
|
||||
width: 450px;
|
||||
background-color: var(--bg-color);
|
||||
border: 1px solid var(--hover-color);
|
||||
position: absolute;
|
||||
z-index: 990;
|
||||
opacity: .95;
|
||||
&__items {
|
||||
list-style: none;
|
||||
z-index: 991;
|
||||
}
|
||||
h4 {
|
||||
padding: 0;
|
||||
}
|
||||
.teaser {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
li {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
z-index: 998;
|
||||
&:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__item {
|
||||
list-style: none;
|
||||
display: block;
|
||||
z-index: 999;
|
||||
padding: 1em;
|
||||
border-bottom: 1px solid var(--hover-color);
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
.reading-time {
|
||||
padding-left: .5em;
|
||||
line-height: 1em;
|
||||
font-size: .9em;
|
||||
}
|
||||
#catlist, #taglist {
|
||||
ul {
|
||||
list-style: none;
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
#taglist {
|
||||
font-weight: normal;
|
||||
a:link, a:visited, a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
#catlist {
|
||||
b {
|
||||
font-weight: 500;
|
||||
}
|
||||
a:link, a:visited, a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.post-desc {
|
||||
font-weight: 100;
|
||||
font-size: .9em;
|
||||
line-height: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
|
@ -1,50 +0,0 @@
|
|||
@mixin setSVGIcon($svgs) {
|
||||
@each $svg in $svgs {
|
||||
.skillcard-icon-#{$svg} {
|
||||
mask-image: url('/icons/#{$svg}.svg');
|
||||
}
|
||||
}
|
||||
}
|
||||
@include setSVGIcon(('aws', 'gcp', 'gh', 'git','rack', 'code'));
|
||||
|
||||
.cards-wrapper {
|
||||
display: grid;
|
||||
// margin: 0 auto;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
grid-auto-rows: minmax(250px, auto);
|
||||
text-align: center;
|
||||
padding: 0 auto;
|
||||
width: 85%;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
.panel {
|
||||
border-top: .2em solid var(--hover-color);
|
||||
margin: .2em;
|
||||
transition: all .5s;
|
||||
display: inline;
|
||||
overflow-y: scroll;
|
||||
max-height: 14em;
|
||||
|
||||
.skillcard-details {
|
||||
text-align: left;
|
||||
font-size: .9em;
|
||||
ul {
|
||||
// padding: 0;
|
||||
li {
|
||||
// list-style: outside;
|
||||
}
|
||||
}
|
||||
}
|
||||
.skillcard-icon {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 2em;
|
||||
background: var(--main-color);
|
||||
mask-position: center;
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 75% 75%;
|
||||
padding-top: .5em;
|
||||
padding-bottom: .5em;
|
||||
transition: all .5s;
|
||||
}
|
||||
}
|
|
@ -1,70 +0,0 @@
|
|||
#timeline-content {
|
||||
margin-top: 50px;
|
||||
text-align: center;
|
||||
p {
|
||||
font-size: .8em;
|
||||
font-weight: lighter;
|
||||
h3 {
|
||||
font-size: 1em;
|
||||
font-weight: lighter;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Timeline */
|
||||
.timeline {
|
||||
border-left: 4px solid var(--hover-color);
|
||||
border-bottom-right-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
background: var(--code-bg-color);
|
||||
|
||||
margin: auto;
|
||||
// position: relative;
|
||||
padding: 50px;
|
||||
list-style: none;
|
||||
text-align: left;
|
||||
// font-weight: 400;
|
||||
max-width: 60%;
|
||||
}
|
||||
|
||||
.timeline .event {
|
||||
margin-bottom: 4em;
|
||||
position: relative;
|
||||
list-style: none;
|
||||
line-height: 1.5em;
|
||||
font-size: 1.2em;
|
||||
font-weight: 400;
|
||||
width: 100%;
|
||||
h3 p {
|
||||
line-height: .5em;
|
||||
font-weight:700;
|
||||
}
|
||||
}
|
||||
.timeline .event:last-of-type {
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
border: none;
|
||||
}
|
||||
.timeline .event:before,
|
||||
.timeline .event:after {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
}
|
||||
.timeline .event:before {
|
||||
left: -8em;
|
||||
line-height: .5em;
|
||||
color: var(--invis-color);
|
||||
content: attr(data-date);
|
||||
ul, li {
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
.timeline .event:after {
|
||||
box-shadow: 0 0 0 4px var(--hover-color);
|
||||
left: -2.5em;
|
||||
background: var(--code-bg-color);
|
||||
border-radius: 50%;
|
||||
height: .5em;
|
||||
width: .5em;
|
||||
content: "";
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
* {
|
||||
--font-family: 'Mulish', Halvetica, Arial;
|
||||
}
|
||||
:root {
|
||||
--co-warning: rgba(255, 145, 0, 0.8);
|
||||
--co-alert: rgb(255, 0, 21);
|
||||
--co-info: rgb(0, 123, 255);
|
||||
|
||||
--main-color-light: #011627;
|
||||
--bg-color-light: #F4F9E9;
|
||||
--hover-color-light: #FF3366;
|
||||
--hover-bg-light: #e7ebde;
|
||||
--code-bg-color-light: #e2e6d9;
|
||||
--code-fg-color-light: #383a42;
|
||||
--code-kw-color-light: #054865;
|
||||
--code-string-color-light:#448743;
|
||||
--code-comment-color-light:#a9a9a9;
|
||||
|
||||
--main-color-dark: #EEEEEE;
|
||||
--bg-color-dark: #222831;
|
||||
--hover-color-dark: #369ce4;
|
||||
--hover-bg-dark: #393E46;
|
||||
|
||||
--code-bg-color-dark: #303947;
|
||||
--code-fg-color-dark: #dcdfe4;
|
||||
--code-kw-color-dark: #9a8240;
|
||||
--code-string-color-dark:#6e8e57;
|
||||
--code-comment-color-dark:#686767;
|
||||
}
|
||||
[color-theme="light"] {
|
||||
--main-color: var(--main-color-light);
|
||||
--bg-color: var(--bg-color-light);
|
||||
--hover-color: var(--hover-color-light);
|
||||
--hover-bg: var(--hover-bg-light);
|
||||
|
||||
--code-bg-color: var(--code-bg-color-light);
|
||||
--code-fg-color: var(--code-fg-color-light);
|
||||
--code-kw-color: var(--code-kw-color-light);
|
||||
--code-string-color: var(--code-string-color-light);
|
||||
--code-comment-color: var(--code-comment-color-light);
|
||||
}
|
||||
|
||||
[color-theme="dark"] {
|
||||
--main-color: var(--main-color-dark);
|
||||
--bg-color: var(--bg-color-dark);
|
||||
--hover-color: var(--hover-color-dark);
|
||||
--hover-bg: var(--hover-bg-dark);
|
||||
--code-bg-color: var(--code-bg-color-dark);
|
||||
--code-fg-color: var(--code-fg-color-dark);
|
||||
--code-kw-color: var(--code-kw-color-dark);
|
||||
--code-string-color: var(--code-string-color-dark);
|
||||
--code-comment-color: var(--code-comment-color-dark);
|
||||
}
|
|
@ -1,124 +0,0 @@
|
|||
// SIMPLE GRID - SASS/SCSS
|
||||
|
||||
// universal
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
left: 0;
|
||||
top: 0;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
// utility
|
||||
|
||||
.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.justify {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.hidden-sm {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// grid
|
||||
|
||||
$width: 96%;
|
||||
$gutter: 4%;
|
||||
$breakpoint-small: 33.75em; // 540px
|
||||
$breakpoint-med: 45em; // 720px
|
||||
$breakpoint-large: 60em; // 960px
|
||||
|
||||
.container {
|
||||
width: 90%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
@media only screen and (min-width: $breakpoint-small) {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: $breakpoint-large) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.row {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.row [class^="col"] {
|
||||
float: left;
|
||||
margin: 0.5rem 2%;
|
||||
min-height: 0.125rem;
|
||||
}
|
||||
|
||||
.row::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.col-1,
|
||||
.col-2,
|
||||
.col-3,
|
||||
.col-4,
|
||||
.col-5,
|
||||
.col-6,
|
||||
.col-7,
|
||||
.col-8,
|
||||
.col-9,
|
||||
.col-10,
|
||||
.col-11,
|
||||
.col-12 {
|
||||
width: $width;
|
||||
}
|
||||
|
||||
.col-1-sm { width:($width / 12) - ($gutter * 11 / 12); }
|
||||
.col-2-sm { width: ($width / 6) - ($gutter * 10 / 12); }
|
||||
.col-3-sm { width: ($width / 4) - ($gutter * 9 / 12); }
|
||||
.col-4-sm { width: ($width / 3) - ($gutter * 8 / 12); }
|
||||
.col-5-sm { width: ($width / (12 / 5)) - ($gutter * 7 / 12); }
|
||||
.col-6-sm { width: ($width / 2) - ($gutter * 6 / 12); }
|
||||
.col-7-sm { width: ($width / (12 / 7)) - ($gutter * 5 / 12); }
|
||||
.col-8-sm { width: ($width / (12 / 8)) - ($gutter * 4 / 12); }
|
||||
.col-9-sm { width: ($width / (12 / 9)) - ($gutter * 3 / 12); }
|
||||
.col-10-sm { width: ($width / (12 / 10)) - ($gutter * 2 / 12); }
|
||||
.col-11-sm { width: ($width / (12 / 11)) - ($gutter * 1 / 12); }
|
||||
.col-12-sm { width: $width; }
|
||||
|
||||
@media only screen and (min-width: $breakpoint-med) {
|
||||
.col-1 { width:($width / 12) - ($gutter * 11 / 12); }
|
||||
.col-2 { width: ($width / 6) - ($gutter * 10 / 12); }
|
||||
.col-3 { width: ($width / 4) - ($gutter * 9 / 12); }
|
||||
.col-4 { width: ($width / 3) - ($gutter * 8 / 12); }
|
||||
.col-5 { width: ($width / (12 / 5)) - ($gutter * 7 / 12); }
|
||||
.col-6 { width: ($width / 2) - ($gutter * 6 / 12); }
|
||||
.col-7 { width: ($width / (12 / 7)) - ($gutter * 5 / 12); }
|
||||
.col-8 { width: ($width / (12 / 8)) - ($gutter * 4 / 12); }
|
||||
.col-9 { width: ($width / (12 / 9)) - ($gutter * 3 / 12); }
|
||||
.col-10 { width: ($width / (12 / 10)) - ($gutter * 2 / 12); }
|
||||
.col-11 { width: ($width / (12 / 11)) - ($gutter * 1 / 12); }
|
||||
.col-12 { width: $width; }
|
||||
|
||||
.hidden-sm {
|
||||
display: block;
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
@import '_header',
|
||||
'_icons',
|
||||
'_page',
|
||||
'_index',
|
||||
'_vars',
|
||||
'_section',
|
||||
'_common',
|
||||
'_callout',
|
||||
'_code',
|
||||
'_mermaid',
|
||||
'_timeline',
|
||||
'_footer',
|
||||
'_search',
|
||||
'_skillcards';
|
Loading…
Add table
Add a link
Reference in a new issue