mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
refactor: lint
This commit is contained in:
parent
7487498805
commit
b6b7123f96
1 changed files with 25 additions and 10 deletions
33
README.md
33
README.md
|
@ -14,6 +14,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Pico CSS
|
## Pico CSS
|
||||||
|
|
||||||
[](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css)
|
[](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css)
|
||||||
[](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css)
|
[](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css)
|
||||||
[](https://github.com/picocss/pico/releases/latest)
|
[](https://github.com/picocss/pico/releases/latest)
|
||||||
|
@ -55,7 +56,7 @@ There are 4 ways to get started with Pico CSS:
|
||||||
[Download Pico](https://github.com/picocss/pico/archive/refs/tags/v1.5.11.zip) and link `/css/pico.min.css` in the `<head>` of your website.
|
[Download Pico](https://github.com/picocss/pico/archive/refs/tags/v1.5.11.zip) and link `/css/pico.min.css` in the `<head>` of your website.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="css/pico.min.css">
|
<link rel="stylesheet" href="css/pico.min.css" />
|
||||||
```
|
```
|
||||||
|
|
||||||
**Install from CDN**
|
**Install from CDN**
|
||||||
|
@ -63,7 +64,10 @@ There are 4 ways to get started with Pico CSS:
|
||||||
Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@picocss/pico) to link pico.css.
|
Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@picocss/pico) to link pico.css.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css"
|
||||||
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
**Install with NPM**
|
**Install with NPM**
|
||||||
|
@ -87,24 +91,33 @@ In this version, `header`, `main` and `footer` act as containers.
|
||||||
Use the default `.classless` version if you need centered viewports:
|
Use the default `.classless` version if you need centered viewports:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css"
|
||||||
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
Or use the `.fluid.classless` version if you need a fluid container:
|
Or use the `.fluid.classless` version if you need a fluid container:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.fluid.classless.min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.fluid.classless.min.css"
|
||||||
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
Then just write pure HTML, and it should look great:
|
Then just write pure HTML, and it should look great:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css"
|
||||||
|
/>
|
||||||
<title>Hello, world!</title>
|
<title>Hello, world!</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -140,7 +153,7 @@ Minimalist templates to discover Pico in action:
|
||||||
A simple layout for Google Amp, with inlined CSS.
|
A simple layout for Google Amp, with inlined CSS.
|
||||||
|
|
||||||
- **[Sign in](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-sign-in)**
|
- **[Sign in](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-sign-in)**
|
||||||
A minimalist layout for Login pages.
|
A minimalist layout for Login pages.
|
||||||
|
|
||||||
- **[Pico + Bootstrap grid system](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-bootstrap-grid)**
|
- **[Pico + Bootstrap grid system](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-bootstrap-grid)**
|
||||||
Custom CSS build with the Bootstrap grid system to manage complex grid layouts in Pico.
|
Custom CSS build with the Bootstrap grid system to manage complex grid layouts in Pico.
|
||||||
|
@ -203,10 +216,12 @@ Licensed under the [MIT License](https://github.com/picocss/pico/blob/master/LIC
|
||||||
**Relevant third-party tools and resources we depend on:**
|
**Relevant third-party tools and resources we depend on:**
|
||||||
|
|
||||||
Website and docs:
|
Website and docs:
|
||||||
|
|
||||||
- [TypeIt](https://typeitjs.com/): JavaScript animated typing utility (Licensed [GPL-3.0](https://github.com/alexmacarthur/typeit/blob/master/LICENSE))
|
- [TypeIt](https://typeitjs.com/): JavaScript animated typing utility (Licensed [GPL-3.0](https://github.com/alexmacarthur/typeit/blob/master/LICENSE))
|
||||||
- [Font Awesome](https://fontawesome.com/): Icons (Licensed [CC BY 4.0](https://fontawesome.com/license/free))
|
- [Font Awesome](https://fontawesome.com/): Icons (Licensed [CC BY 4.0](https://fontawesome.com/license/free))
|
||||||
|
|
||||||
Pico Library:
|
Pico Library:
|
||||||
|
|
||||||
- [Feather](https://feathericons.com/) Icons (Licensed [MIT](https://github.com/feathericons/feather/blob/master/LICENSE))
|
- [Feather](https://feathericons.com/) Icons (Licensed [MIT](https://github.com/feathericons/feather/blob/master/LICENSE))
|
||||||
- [Normalize.css](https://necolas.github.io/normalize.css/): CSS reset (Licensed [MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md))
|
- [Normalize.css](https://necolas.github.io/normalize.css/): CSS reset (Licensed [MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md))
|
||||||
- [Sanitize.css](https://csstools.github.io/sanitize.css/): Cross-browser default styling (Licensed [CC0 1.0 Universal](https://github.com/csstools/sanitize.css/blob/main/LICENSE.md))
|
- [Sanitize.css](https://csstools.github.io/sanitize.css/): Cross-browser default styling (Licensed [CC0 1.0 Universal](https://github.com/csstools/sanitize.css/blob/main/LICENSE.md))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue