Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
EvgenyOrekhov committed Jun 19, 2020
1 parent cc8e59f commit acff402
Showing 8 changed files with 43 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ See form example: [Bootstrap](https://jsfiddle.net/z16aknfh/3/) vs
## Quick Start

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.8.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.9.0" />
```

## Browser compatibility
51 changes: 36 additions & 15 deletions dist/holiday.css
Original file line number Diff line number Diff line change
@@ -350,6 +350,13 @@ table {
}

pre {
padding: 1rem;

/* Prism hack */
/* stylelint-disable declaration-no-important */
margin-top: 1rem !important;
margin-bottom: 1rem !important;
/* stylelint-enable */
overflow-x: auto;
line-height: 1.15;
}
@@ -359,9 +366,7 @@ code {
}

pre code {
display: inline-block;
min-width: 100%;
padding: 1rem;
padding: unset;
}

kbd {
@@ -594,6 +599,14 @@ picture {
text-align: center;
}

/* highlight.js hack */
/* stylelint-disable-next-line selector-max-class */
.hljs {
/* stylelint-disable-next-line declaration-no-important */
padding: 1rem !important;
margin: -1rem;
}

@media (max-width: 50rem) {
table {
width: calc(100% + 1rem);
@@ -608,19 +621,24 @@ picture {

pre {
width: calc(100% + 1rem);
padding-right: 0.5rem;
padding-left: 0.5rem;
margin-left: -0.5rem;

/* !important is Prism hack */
/* stylelint-disable declaration-no-important */
padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
margin-left: -0.5rem !important;
/* stylelint-enable */
}

pre code {
box-sizing: content-box;
padding-right: 0;
padding-left: 0;
margin-right: -0.5rem;
margin-left: -0.5rem;
border-right: 0.5rem solid transparent;
border-left: 0.5rem solid transparent;
/* highlight.js hack */
/* stylelint-disable-next-line selector-max-class */
.hljs {
/* stylelint-disable declaration-no-important */
padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
/* stylelint-enable */

margin: -1rem -0.5rem;
}
}
@media (hover: hover) {
@@ -802,10 +820,13 @@ body {
background-color: var(--background-color);
}

pre {
background-color: var(--code-background-color);
}

code {
color: var(--code-text-color);
background-color: var(--code-background-color);
border-color: var(--code-background-color);
}

a,
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "holiday.css",
"version": "0.8.0",
"version": "0.9.0",
"description": "A classless CSS theme",
"main": "dist/holiday.css",
"style": "dist/holiday.css",
2 changes: 1 addition & 1 deletion site/README.md
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ Or you can use it as a base and build upon it.
Just add this to your `<head>`:

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.8.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.9.0" />
```

## What makes holiday.css different
2 changes: 1 addition & 1 deletion site/_includes/layout.liquid
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/holiday.css@0.8.0"
href="https://cdn.jsdelivr.net/npm/holiday.css@0.9.0"
/>
</head>

2 changes: 1 addition & 1 deletion site/template.html
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/holiday.css@0.8.0"
href="https://cdn.jsdelivr.net/npm/holiday.css@0.9.0"
/>
</head>

2 changes: 1 addition & 1 deletion site/usage.md
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ layout: layout
Have an existing web page? Add this to your `<head>`:

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.8.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.9.0" />
```

Starting afresh? Use [Quickstart Template]({{ "/template/" | url }}).

0 comments on commit acff402

Please sign in to comment.