Skip to content

Commit

Permalink
Replaced githack with jsDelivr
Browse files Browse the repository at this point in the history
  • Loading branch information
amir2mi committed Feb 11, 2022
1 parent 370224d commit 1bf090c
Show file tree
Hide file tree
Showing 47 changed files with 182 additions and 178 deletions.
14 changes: 7 additions & 7 deletions website/docs/components/accordion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ We use the [add button component](/docs/components/buttons/add-button) to have a
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down Expand Up @@ -157,7 +157,7 @@ The default accordion does not have borders and it can be flexible to be customi
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down Expand Up @@ -243,7 +243,7 @@ As we call it "accordion" there must not be more than one item expanded item at
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down Expand Up @@ -330,7 +330,7 @@ These classes just set a `font-size` property so it is possible to change it you
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down Expand Up @@ -524,7 +524,7 @@ There are helper classes for styling elements like accordions, first read about
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down Expand Up @@ -684,7 +684,7 @@ Here is an example of changing the animations:
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down Expand Up @@ -798,7 +798,7 @@ More than customizing animations there are CSS variables to change the base colo
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Accordion</title>
<style>
.accordion{
Expand Down
10 changes: 5 additions & 5 deletions website/docs/components/alert.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Any HTML tag can be alert with the `.alert` class, however, a `<div>` with parag
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Alerts</title>
</head>
<body>
Expand Down Expand Up @@ -56,7 +56,7 @@ Alerts can have the light theme to gain less attention since you can set color s
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Alerts</title>
<style>
.alert{
Expand Down Expand Up @@ -132,7 +132,7 @@ You can add the `.floating` class to the `.close-button` for having a floating b
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Alerts</title>
<script src="https://raw.githack.com/amir2mi/flatifycss/master/dist/js/flatify-min.js"></script>
</head>
Expand Down Expand Up @@ -189,7 +189,7 @@ It is possible to have an SVG as an icon for alert just add `.has-icon` to the a
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Alerts</title>
<script src="https://raw.githack.com/amir2mi/flatifycss/master/dist/js/flatify-min.js"></script>
</head>
Expand Down Expand Up @@ -327,7 +327,7 @@ Each alert has these CSS variables for customization, they can be set as `:root`
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Alerts</title>
<style>
@keyframes my-custom-animation{
Expand Down
4 changes: 2 additions & 2 deletions website/docs/components/backdrop-layer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Backdrops are simple despite being customizable, note that they are hidden by de
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Backdrop layer</title>
</head>
<body>
Expand Down Expand Up @@ -66,7 +66,7 @@ For example you use `--flatify__backdrop-filter` to set blur effect which is a c
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Backdrop layer</title>
<style>
.my-backdrop{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/components/badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Use badges to show numbers, texts, or just as an icon to get user attention, bad
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Badges</title>
</head>
<body>
Expand Down Expand Up @@ -73,7 +73,7 @@ Here is an example of badge over button:
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Badges</title>
<style>
.my-button{
Expand Down Expand Up @@ -146,7 +146,7 @@ These are CSS variables for badges that you can use to customize the default col
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Badges</title>
<style>
.custom-badge{
Expand Down
10 changes: 5 additions & 5 deletions website/docs/components/breadcrumb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It is easy to create one just add `.breadcrumb` class and create children with `
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Breadcrumb</title>
</head>
<body class="flex-center">
Expand Down Expand Up @@ -61,7 +61,7 @@ When there are a lot of breadcrumb items which overflow, breadcrumb will be scro
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Breadcrumb</title>
</head>
<body class="flex-column-center">
Expand Down Expand Up @@ -96,7 +96,7 @@ These classes just set a `font-size` property so it is possible to change it you
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Breadcrumb</title>
</head>
<body class="flex-column-center">
Expand Down Expand Up @@ -162,7 +162,7 @@ There are helper classes for styling elements like breadcrumb, first read about
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Breadcrumb</title>
</head>
<body class="flex-column-center">
Expand Down Expand Up @@ -246,7 +246,7 @@ Each breadcrumb has these CSS variables for customization, they can be set as `:
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Breadcrumb</title>
<style>
.my-custom-breadcrumb{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/components/buttons/add-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You do not need to add anything inside the add button element but it is necessar
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Add button</title>
<style>
.add-button{
Expand Down Expand Up @@ -69,7 +69,7 @@ These classes just set a `font-size` property so it is possible to change it you
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Add button</title>
<style>
.add-button{
Expand Down Expand Up @@ -109,7 +109,7 @@ There are helper classes for styling elements like button, first read about [col
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Add button</title>
<style>
.add-button{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/components/buttons/arrow-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ It is not necessary to add text inside the arrow button element but you should s
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Arrow button</title>
</head>
<body>
Expand Down Expand Up @@ -73,7 +73,7 @@ These classes just set a `font-size` property so it is possible to change it you
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Arrow button</title>
</head>
<body>
Expand Down Expand Up @@ -108,7 +108,7 @@ There are helper classes for styling elements like button, first read about [col
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Close button</title>
<style>
.arrow-button{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/components/buttons/button-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ By default, button groups are horizontal and they can have active buttons just b
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Button group</title>
</head>
<body>
Expand Down Expand Up @@ -61,7 +61,7 @@ The vertical button group is possible by adding `.vertical` to the `.button-grou
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Button group</title>
</head>
<body>
Expand Down Expand Up @@ -103,7 +103,7 @@ These classes just set a `font-size property so it is possible to change it your
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://raw.githack.com/amir2mi/FlatifyCSS/master/dist/css/flatify-min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css" />
<title>Button group</title>
</head>
<body>
Expand Down
Loading

0 comments on commit 1bf090c

Please sign in to comment.