Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Hosting examples on GitHub pages #276

Merged
merged 46 commits into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
ccb3be9
Set theme jekyll-theme-slate
akaustav Feb 8, 2020
3f9272b
Add GitHub pages for flexbug 2
akaustav Feb 11, 2020
9b989d8
Add GitHub page links for flexbug 2
akaustav Feb 11, 2020
1733181
Create index.html
akaustav Mar 1, 2020
ed989a2
Moved src to docs
akaustav Mar 1, 2020
fd1cc07
Convert to markdown
akaustav Mar 1, 2020
078ed77
Updating readme
akaustav Mar 1, 2020
352a826
Removing heading
akaustav Mar 1, 2020
cf71962
Linking to the GitHub README
akaustav Mar 1, 2020
61545d1
Moving the config inside docs
akaustav Mar 1, 2020
cb39f7f
Uppercasing README.md
akaustav Mar 1, 2020
939b40b
Update verbiage
akaustav Mar 1, 2020
0e6a04b
Updating docs
akaustav Mar 1, 2020
dbde43f
Fixing references
akaustav Mar 1, 2020
90f56de
Fixing typo
akaustav Mar 2, 2020
dba0e7b
normalize.css and autoprefixer
akaustav Mar 2, 2020
67a2da1
Removing codepen link
akaustav Mar 2, 2020
b8f51f8
Remove links to source
akaustav Mar 6, 2020
6204926
Latest normalize.min.css
akaustav Mar 6, 2020
374e961
Recommended browserlist for autoprefixer
akaustav Mar 6, 2020
5d5e1ee
Fix bad alignment
akaustav Mar 6, 2020
8b209e0
Consistent HTML title and meta tags
akaustav Mar 6, 2020
0f9b3b6
s/akaustav/philipwalton/g
akaustav Mar 6, 2020
ebaee09
s/philipwalton/akaustav/g
akaustav Mar 8, 2020
a518658
update flexbug 1
akaustav Mar 23, 2020
29dd568
update flexbug 12
akaustav Mar 23, 2020
1d7854f
update flexbug 12
akaustav Mar 23, 2020
c7c03a3
<br> on the same line
akaustav Mar 23, 2020
8e07e9f
update flexbug 4
akaustav Mar 23, 2020
26a77e9
update flexbug 5
akaustav Mar 23, 2020
c41003f
update flexbug 10
akaustav Mar 23, 2020
0e5882e
update flexbug 11
akaustav Mar 23, 2020
e53c3a7
update flexbug 13
akaustav Mar 23, 2020
4544a01
Consistent translate on body
akaustav Mar 28, 2020
e204d18
update flexbug 15
akaustav Mar 28, 2020
feb0760
update flexbug 16
akaustav Mar 28, 2020
cee223a
update flexbug 17
akaustav Mar 28, 2020
7055f46
update flexbug 3
akaustav Mar 29, 2020
fb36ad2
update flexbug 14
akaustav Mar 29, 2020
64d3d5a
update flexbug 7
akaustav Mar 29, 2020
7d0a99d
update flexbug 6
akaustav Mar 29, 2020
affaf8a
update flexbug 8
akaustav Mar 29, 2020
62e36f0
update flexbug 9
akaustav Mar 29, 2020
6f6bc5e
fix whitespace
akaustav Mar 29, 2020
cb404c4
s/akaustav/philipwalton/g
akaustav Mar 29, 2020
a381de8
[+] akaustav to maintainers
akaustav Mar 31, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
150 changes: 75 additions & 75 deletions README.md

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions docs/1.1.a-bug.html
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 1.1.a (bug)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 1.1.a (bug)
*/

.FlexContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin: 1em;
width: 200px;
}

/* Presentational styles */
/* not demo related */

.FlexItem {
background: hsla(0, 0%, 0%, 0.1);
margin: 1em;
padding: 1em;
}
</style>
</head>
<body translate="no">
<div class="FlexContainer">
<div class="FlexItem">
ReallyLongWord
</div>
<div class="FlexItem">
AnotherReallyLongWord
</div>
<div class="FlexItem">
YetAnotherReallyLongWord
</div>
</div>
</body>
</html>
55 changes: 55 additions & 0 deletions docs/1.1.b-workaround.html
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 1.1.b (workaround)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 1.1.b (workaround)
*
* 1. Set an explicit `flex-shrink` of 0
* to prevent browsers from letting
* elements shink to smaller than
* their default minimum content
* size.
*/

.FlexContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin: 1em;
width: 200px;
}

.FlexItem {
-ms-flex-negative: 0;
flex-shrink: 0; /* 1 */
}

/* Presentational styles */
/* not demo related */

.FlexItem {
background: hsla(0, 0%, 0%, 0.1);
margin: 1em;
padding: 1em;
}
</style>
</head>
<body translate="no">
<div class="FlexContainer">
<div class="FlexItem">
ReallyLongWord
</div>
<div class="FlexItem">
AnotherReallyLongWord
</div>
<div class="FlexItem">
YetAnotherReallyLongWord
</div>
</div>
</body>
</html>
56 changes: 56 additions & 0 deletions docs/1.2.a-bug.html
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 1.2.a (bug)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 1.2.a (bug)
*/

.FlexContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}

/* Presentational styles */
/* not demo related */

.FlexContainer,
.FlexItem {
background: hsla(0, 0%, 0%, 0.1);
}

.FlexContainer {
margin: 1em;
padding: 0.5em;
}

.FlexItem {
margin: 0.5em;
padding: 1em;
}
</style>
</head>
<body translate="no">
<div class="FlexContainer">
<div class="FlexItem">
Flex item<br>
with multiple</br>
lines of text
</div>
<div class="FlexItem">
Another flex item<br>
with multiple</br>
lines of text
</div>
</div>
</body>
</html>
67 changes: 67 additions & 0 deletions docs/1.2.b-workaround.html
@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 1.2.b (workaround)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 1.2.b (workaround)
*
* 1. Set an explicit `flex-shrink` of 0
* to prevent browsers from letting
* elements shink to smaller than
* their default minimum content
* size.
*/

.FlexContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}

.FlexItem {
-ms-flex-negative: 0;
flex-shrink: 0; /* 1 */
}

/* Presentational styles */
/* not demo related */

.FlexContainer,
.FlexItem {
background: hsla(0, 0%, 0%, 0.1);
}

.FlexContainer {
margin: 1em;
padding: 0.5em;
}

.FlexItem {
margin: 0.5em;
padding: 1em;
}
</style>
</head>
<body translate="no">
<div class="FlexContainer">
<div class="FlexItem">
Flex item<br>
with multiple</br>
lines of text
</div>
<div class="FlexItem">
Another flex item<br>
with multiple</br>
lines of text
</div>
</div>
</body>
</html>
50 changes: 50 additions & 0 deletions docs/10.1.a-bug.html
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 10.1.a (bug)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 10.1.a (bug)
*/

.OuterFlexContainer {
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
background: hsla(0, 0%, 0%, 0.1);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
line-height: 1.4;
margin: 1em;
padding: 1em;
}

.FlexItem {
margin-right: 1em;
}

.InnerFlexContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
</style>
</head>
<body translate="no">
<div class="OuterFlexContainer">
<div class="FlexItem">I should be aligned with the first line of text.</div>
<div class="FlexItem">
<div class="InnerFlexContainer">
First line of text.
</div>
Second line of text.<br />
Third line of text.<br />
Fourth line of text.
</div>
</div>
</body>
</html>
51 changes: 51 additions & 0 deletions docs/10.1.b-workaround.html
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 10.1.b (workaround)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 10.1.b (workaround)
*/

.OuterFlexContainer {
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
background: hsla(0, 0%, 0%, 0.1);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
line-height: 1.4;
margin: 1em;
padding: 1em;
}

.FlexItem {
margin-right: 1em;
}

.InnerFlexContainer {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
width: 100%;
}
</style>
</head>
<body translate="no">
<div class="OuterFlexContainer">
<div class="FlexItem">I should be aligned with the first line of text.</div>
<div class="FlexItem">
<div class="InnerFlexContainer">
First line of text.
</div>
Second line of text.<br />
Third line of text.<br />
Fourth line of text.
</div>
</div>
</body>
</html>
46 changes: 46 additions & 0 deletions docs/11.1.a-bug.html
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flexbug 11.1.a (bug)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<style>
/**
* Flexbug demo 11.1.a (bug)
*/

.FlexContainer {
background: hsla(0, 0%, 0%, 0.1);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: 1em;
padding: 1em;
width: 600px;
}

.FlexItem {
background: hsla(0, 0%, 0%, 0.1);
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
margin: 1em;
min-width: 200px;
padding: 1em;
}
</style>
</head>
<body translate="no">
<div class="FlexContainer">
<div class="FlexItem">Item 1</div>
<div class="FlexItem">Item 2</div>
<div class="FlexItem">Item 3</div>
<div class="FlexItem">Item 4</div>
<div class="FlexItem">Item 5</div>
<div class="FlexItem">Item 6</div>
</div>
</body>
</html>