update frameworks

pull/33/head
dohliam 4 years ago
parent 0af6d68fba
commit 4524ac919e

2
min/axist.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -339,7 +339,6 @@ frameworks:
license_url: http://cjpatoilo.mit-license.org/
repo: https://github.com/milligram/milligram
url: https://github.com/milligram/milligram/blob/master/dist/milligram.css
skip: true
min:
author: owenversteeg
author_name: Owen Versteeg

@ -1,3 +1,20 @@
/*
- 3.815rem
- 3.052rem
- 2.441rem
- 1.953rem
- 1.563rem
- 1.25rem
- 1rem
- 0.8rem
- 0.64rem
- 0.512rem
- 0.41rem
- 0.328rem
- 0.262rem
- 0.209rem
*/
:root {
--primary: #1524d9;
--light-primary: #2332ea;
@ -31,9 +48,9 @@
monospace,
serif;
--boder-radius: 0.2rem;
}
}
* {
* {
box-sizing: border-box;
margin: 0;
padding: 0;
@ -42,9 +59,9 @@
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: transparent;
font-family: var(--font-sans-serif);
}
}
html {
html {
font-size: calc(16px + ((100vw - 600px) / 250));
padding: 0;
text-decoration-skip-ink: "auto";
@ -53,125 +70,125 @@
min-height: 100%;
overflow-x: hidden;
max-width: 1140px;
}
}
body {
body {
padding: 0;
margin: calc((100vh / 25) * 1.563) calc((100vw / 25) * 1.563);
background-color: var(--white);
color: var(--black);
caret-color: var(--black);
word-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6 {
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 1rem;
margin-top: 1em;
font-weight: bold;
}
}
h1 {
h1 {
font-size: 3.052rem;
letter-spacing: -0.15rem;
line-height: 1;
}
}
h2 {
h2 {
font-size: 2.441rem;
letter-spacing: -0.12rem;
line-height: 1.2;
}
}
h3 {
h3 {
font-size: 1.953rem;
letter-spacing: -0.09rem;
line-height: 1.2;
}
}
h4 {
h4 {
font-size: 1.563rem;
letter-spacing: -0.06rem;
line-height: 1.3;
}
}
h5 {
h5 {
font-size: 1.25rem;
letter-spacing: -0.03rem;
line-height: 1.4;
}
}
h6 {
h6 {
font-size: 1rem;
letter-spacing: 0;
line-height: 1.5;
}
}
p {
p {
margin-bottom: 1.563rem;
}
}
p > *:last-child {
p > *:last-child {
margin-bottom: 0;
}
}
blockquote {
blockquote {
border-left: 1px solid var(--light-gray);
padding: 0 1rem;
margin-bottom: 1.563rem;
}
}
a {
a {
color: var(--primary);
text-decoration: none;
}
}
@media (hover: hover) {
@media (hover: hover) {
a:hover {
text-decoration: underline;
}
}
}
small {
small {
font-size: 0.888rem;
}
}
hr {
hr {
border: 0;
height: 2px;
margin: 1rem 0;
background: var(--light-gray);
}
}
fieldset {
fieldset {
border: none;
padding: 0;
margin: 0;
}
}
label,
legend {
label,
legend {
font-weight: bold;
display: inline-block;
}
input[type="email"],
input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="datetime"],
input[type="datetime-local"],
input[type="url"],
input[type="search"],
input[type="tel"],
input:not([type]) {
}
input[type="email"],
input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="datetime"],
input[type="datetime-local"],
input[type="url"],
input[type="search"],
input[type="tel"],
input:not([type]) {
display: block;
padding: 1rem;
font-size: 1rem;
@ -182,9 +199,9 @@
background-color: var(--lighter-gray);
-webkit-appearance: none;
-moz-appearance: none;
}
}
select {
select {
display: block;
padding: 1rem;
font-size: 1em;
@ -195,9 +212,9 @@
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
}
textarea {
textarea {
display: block;
font-size: 1rem;
padding: 1rem;
@ -211,31 +228,31 @@
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
}
input:focus,
select:focus,
textarea:focus {
input:focus,
select:focus,
textarea:focus {
outline: none;
border: 2px solid var(--primary);
}
}
input:invalid,
select:invalid,
textarea:invalid {
input:invalid,
select:invalid,
textarea:invalid {
border: 2px solid var(--red);
outline: none;
}
}
input[type="checkbox"]:hover,
input[type="radio"]:hover {
input[type="checkbox"]:hover,
input[type="radio"]:hover {
cursor: pointer;
}
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
padding: 0.5rem 1.25rem;
font-size: 1rem;
border: 0;
@ -246,9 +263,9 @@
-webkit-appearance: none;
-moz-appearance: none;
font-weight: bold;
}
}
@media (hover: hover) {
@media (hover: hover) {
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
@ -256,44 +273,44 @@
cursor: pointer;
background-color: var(--light-primary);
}
}
}
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible {
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible {
border-color: var(--light-primary);
outline: none;
}
}
input[disabled],
button:disabled {
input[disabled],
button:disabled {
background-color: var(--gray);
}
}
table {
table {
width: 100%;
border-collapse: collapse;
margin: 1.75rem 0;
font-variant-numeric: tabular-nums;
}
}
th,
td {
th,
td {
vertical-align: top;
border-bottom: 2px solid var(--light-gray);
line-height: 15px;
padding: 15px;
}
}
th {
th {
font-weight: bold;
text-align: left;
color: var(--dark-gray);
}
}
code,
pre {
code,
pre {
font-family: var(--font-monospace);
color: var(--dark-gray);
background-color: var(--lighter-gray);
@ -301,47 +318,47 @@
vertical-align: middle;
overflow: scroll;
border-radius: var(--boder-radius);
}
}
code {
code {
white-space: nowrap;
vertical-align: baseline;
padding: 0 0.328rem;
}
}
pre {
pre {
white-space: pre;
margin: 0.262rem 0;
padding: 0.64rem 1rem;
}
}
pre::after {
pre::after {
content: " ";
}
}
ul {
ul {
margin: 0;
padding: 0 1px;
list-style: disc outside;
font-variant-numeric: tabular-nums;
}
}
ol {
ol {
list-style: decimal outside;
}
}
ol,
ul {
ol,
ul {
padding-left: 0;
margin-top: 1rem;
margin-bottom: 1rem;
}
}
li {
li {
list-style-position: inside;
}
}
kbd {
kbd {
display: inline-block;
padding: 0 0.328rem;
font-family:
@ -358,16 +375,15 @@
border: solid 1px #d8d8d8;
border-bottom: solid 2px #a6a5a6;
border-radius: 5px;
}
}
abbr {
abbr {
text-decoration: none;
border-bottom: 2px dashed #949394;
}
}
@media (hover: hover) {
@media (hover: hover) {
abbr:hover {
cursor: help;
}
}
}

File diff suppressed because it is too large Load Diff

@ -928,13 +928,14 @@ kbd {
background-color: var(--highlighted-background-color);
border: var(--border-width) solid var(--border-hover-color);
border-radius: var(--border-radius);
box-shadow: inset 0 0.2rem 0 var(--background-color),
inset 0 0 0 0.2rem var(--background-color);
box-shadow: inset 0 0 0 0.2rem var(--background-color);
}
kbd kbd {
border: unset;
box-shadow: unset;
box-shadow: inset 0 -0.2rem 0 0 var(--background-color),
inset 0 0.2rem 0 0 var(--background-color);
border-radius: 0;
}
dialog {

@ -1,8 +1,8 @@
/*!
* Milligram v1.3.0
* https://milligram.github.io
* Milligram v1.4.0
* https://milligram.io
*
* Copyright (c) 2018 CJ Patoilo
* Copyright (c) 2020 CJ Patoilo
* Licensed under the MIT license
*/
@ -197,48 +197,46 @@ hr {
margin: 3.0rem 0;
}
input[type='color'],
input[type='date'],
input[type='datetime'],
input[type='datetime-local'],
input[type='email'],
input[type='month'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
input[type='color'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='datetime'],
input[type='datetime-local'],
input:not([type]),
textarea,
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: transparent;
border: 0.1rem solid #d1d1d1;
border-radius: .4rem;
box-shadow: none;
box-sizing: inherit;
height: 3.8rem;
padding: .6rem 1.0rem;
padding: .6rem 1.0rem .7rem;
width: 100%;
}
input[type='color']:focus,
input[type='date']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='email']:focus,
input[type='month']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
input[type='url']:focus,
input[type='color']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input:not([type]):focus,
textarea:focus,
select:focus {
@ -247,12 +245,17 @@ select:focus {
}
select {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="%23d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>') center right no-repeat;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%23d1d1d1" d="M0,0l6,8l6-8"/></svg>') center right no-repeat;
padding-right: 3.0rem;
}
select:focus {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="%239b4dca" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>');
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%239b4dca" d="M0,0l6,8l6-8"/></svg>');
}
select[multiple] {
background: none;
height: auto;
}
textarea {
@ -354,10 +357,18 @@ input[type='radio'] {
margin-left: 33.3333%;
}
.row .column.column-offset-40 {
margin-left: 40%;
}
.row .column.column-offset-50 {
margin-left: 50%;
}
.row .column.column-offset-60 {
margin-left: 60%;
}
.row .column.column-offset-66, .row .column.column-offset-67 {
margin-left: 66.6666%;
}
@ -438,7 +449,6 @@ input[type='radio'] {
}
.row .column .column-center {
-ms-grid-row-align: center;
align-self: center;
}
@ -521,6 +531,9 @@ ul {
table {
border-spacing: 0;
display: block;
overflow-x: auto;
text-align: left;
width: 100%;
}
@ -528,7 +541,6 @@ td,
th {
border-bottom: 0.1rem solid #e1e1e1;
padding: 1.2rem 1.5rem;
text-align: left;
}
td:first-child,
@ -541,6 +553,13 @@ th:last-child {
padding-right: 0;
}
@media (min-width: 40rem) {
table {
display: table;
overflow-x: initial;
}
}
b,
strong {
font-weight: bold;

Loading…
Cancel
Save