Skip to content

Commit

Permalink
Switching nav & main to avoid the .current management
Browse files Browse the repository at this point in the history
  • Loading branch information
Lcfvs committed Jan 20, 2020
1 parent 818f564 commit a0ae99f
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions components/header/popdown/popdown.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* {"name":"css-ui","version":"2.4.3","author":"Lcf.vs <[email protected]>","license":"MIT"} */
/* {"name":"css-ui","version":"2.4.4","author":"Lcf.vs <[email protected]>","license":"MIT"} */
body > header > ol {
float: right;
height: 100%;
Expand Down Expand Up @@ -98,4 +98,4 @@ body > header > ol > li > a:not(:focus) + ol:not(:empty) ~ a:after {
top: .5em;
margin-left: -.5em;
z-index: 2;
}
}
4 changes: 2 additions & 2 deletions components/header/popdown/popdown.min.css

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

2 changes: 1 addition & 1 deletion components/header/popdown/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## CDN

```html
<link href="https://unpkg.com/@lcf.vs/[email protected].3/css-ui/components/header/popdown/popdown.min.css" media="screen" rel="stylesheet" />
<link href="https://unpkg.com/@lcf.vs/[email protected].4/css-ui/components/header/popdown/popdown.min.css" media="screen" rel="stylesheet" />
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions components/main/card/card.min.css

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

2 changes: 1 addition & 1 deletion components/main/card/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## CDN

```html
<link href="https://unpkg.com/@lcf.vs/[email protected].3/css-ui/components/main/card/card.min.css" media="screen" rel="stylesheet" />
<link href="https://unpkg.com/@lcf.vs/[email protected].4/css-ui/components/main/card/card.min.css" media="screen" rel="stylesheet" />
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions components/menu/expanded/expanded.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* {"name":"css-ui","version":"2.4.3","author":"Lcf.vs <[email protected]>","license":"MIT"} */
/* {"name":"css-ui","version":"2.4.4","author":"Lcf.vs <[email protected]>","license":"MIT"} */
@media only screen and (min-width: 50em) {
body {
width: calc(100vw - 15em);
Expand All @@ -18,4 +18,4 @@
body > nav > [tabindex="1"] + a + ol > li > a {
width: 15em
}
}
}
4 changes: 2 additions & 2 deletions components/menu/expanded/expanded.min.css

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

2 changes: 1 addition & 1 deletion components/menu/expanded/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## CDN

```html
<link href="https://unpkg.com/@lcf.vs/[email protected].3/css-ui/components/menu/expanded/expanded.min.css" media="screen" rel="stylesheet" />
<link href="https://unpkg.com/@lcf.vs/[email protected].4/css-ui/components/menu/expanded/expanded.min.css" media="screen" rel="stylesheet" />
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions components/menu/mini/mini.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* {"name":"css-ui","version":"2.4.3","author":"Lcf.vs <[email protected]>","license":"MIT"} */
/* {"name":"css-ui","version":"2.4.4","author":"Lcf.vs <[email protected]>","license":"MIT"} */
@media only screen and (min-width: 50em) {
body {
width: calc(100vw - 3em);
Expand All @@ -9,4 +9,4 @@
body > nav > [tabindex="1"]:not(:focus) + a + ol > li > a {
width: 3em
}
}
}
4 changes: 2 additions & 2 deletions components/menu/mini/mini.min.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* {"name":"css-ui","version":"2.4.3","author":"Lcf.vs <[email protected]>","license":"MIT"} */
@media only screen and (min-width:50em){body{width:calc(100vw - 3em);margin-left:3em}body>nav>[tabindex="1"]:not(:focus)+a+ol,body>nav>[tabindex="1"]:not(:focus)+a+ol>li>a{width:3em}}
/* {"name":"css-ui","version":"2.4.4","author":"Lcf.vs <[email protected]>","license":"MIT"} */
@media only screen and (min-width:50em){body{width:calc(100vw - 3em);margin-left:3em}body>nav>[tabindex="1"]:not(:focus)+a+ol,body>nav>[tabindex="1"]:not(:focus)+a+ol>li>a{width:3em}}
2 changes: 1 addition & 1 deletion components/menu/mini/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## CDN

```html
<link href="https://unpkg.com/@lcf.vs/[email protected].3/css-ui/components/menu/mini/mini.min.css" media="screen" rel="stylesheet" />
<link href="https://unpkg.com/@lcf.vs/[email protected].4/css-ui/components/menu/mini/mini.min.css" media="screen" rel="stylesheet" />
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions css-ui.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* {"name":"css-ui","version":"2.4.3","author":"Lcf.vs <[email protected]>","license":"MIT"} */
/* {"name":"css-ui","version":"2.4.4","author":"Lcf.vs <[email protected]>","license":"MIT"} */
:after, :before, a, abbr, acronym, address, article, aside, audio, b, big, blockquote, body, button, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hr, html, i, iframe, img, ins, kbd, label, legend, li, main, mark, menu, nav, object, ol, output, p, pre, progress, q, rt, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, u, ul, var, video {
font: inherit;
vertical-align: baseline;
Expand Down Expand Up @@ -151,4 +151,4 @@ main > * {
padding: .5em;
width: 95%;
text-align: left
}
}
4 changes: 2 additions & 2 deletions css-ui.min.css

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": "@lcf.vs/css-ui",
"version": "2.4.3",
"version": "2.4.4",
"description": "A pure CSS base to make a responsive user interface",
"main": "css-ui.min.css",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A pure CSS base to make a responsive user interface.

### Using a CDN
```html
<link href="https://unpkg.com/@lcf.vs/[email protected].3/css-ui.min.css" media="screen" rel="stylesheet" />
<link href="https://unpkg.com/@lcf.vs/[email protected].4/css-ui.min.css" media="screen" rel="stylesheet" />
```

```html
Expand Down

0 comments on commit a0ae99f

Please sign in to comment.