Skip to content

Commit

Permalink
docs: improve example styling
Browse files Browse the repository at this point in the history
  • Loading branch information
cprice-scottlogic authored and chrisprice committed Apr 30, 2020
1 parent eba32b1 commit e23f65b
Show file tree
Hide file tree
Showing 98 changed files with 80 additions and 849 deletions.
10 changes: 0 additions & 10 deletions examples/annotation-canvas-band/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
10 changes: 0 additions & 10 deletions examples/annotation-canvas-crosshair/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
10 changes: 0 additions & 10 deletions examples/annotation-canvas-gridline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
10 changes: 0 additions & 10 deletions examples/annotation-canvas-line/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions examples/annotation-gridline-transition/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions examples/annotation-svg-band/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}

g.annotation-band>path {
fill-opacity: 0.1;
}
Expand Down
9 changes: 0 additions & 9 deletions examples/annotation-svg-crosshair/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}

g.annotation-crosshair g.annotation-line>line,
g.annotation-crosshair g.point>path {
fill: none;
Expand Down
10 changes: 0 additions & 10 deletions examples/annotation-svg-gridline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions examples/annotation-svg-line/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}

g.annotation-line.horizontal>line {
stroke: #c60;
}
Expand Down
9 changes: 0 additions & 9 deletions examples/axis-band-scale/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
5 changes: 0 additions & 5 deletions examples/axis-center/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
d3fc-svg {
height: 50px;
}
</style>
</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions examples/axis-color/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
7 changes: 0 additions & 7 deletions examples/axis-label-offset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

.container {
flex: 1;
margin: 0 5px;
overflow: hidden;
display: grid;
grid-template-columns: 160px 1fr 160px;
grid-template-rows: 80px 1fr 80px;
Expand Down
9 changes: 0 additions & 9 deletions examples/axis-offset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
14 changes: 3 additions & 11 deletions examples/axis-rotate-auto/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

.side-by-side {
flex: 1 1;
display: flex;
}

.ordinal-group {
flex: 1 1;
margin: 0 5px;
flex: auto;
display: grid;
grid-template-columns: minmax(80px, max-content) 1fr minmax(80px, max-content);
grid-template-rows: minmax(80px, max-content) 1fr minmax(80px, max-content);
Expand All @@ -31,10 +25,8 @@
.label {
grid-column: 2;
grid-row: 2;
font-size: 1.2em;
font-weight: bold;
text-align: center;
margin-top: 20px;
justify-self: center;
align-self: center;
}

.top {
Expand Down
9 changes: 0 additions & 9 deletions examples/axis-rotate-decorate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions examples/axis-tick-arguments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions examples/axis-transition/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
10 changes: 0 additions & 10 deletions examples/brush-navigator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,7 @@
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
flex-direction: column;
margin: 0;
}

body>div {
display: flex;
}

d3fc-group.cartesian-chart {
height: auto;
}

#main-chart {
Expand Down
9 changes: 0 additions & 9 deletions examples/brush-zoom/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}

.point {
stroke-width: 0;
}
Expand Down
13 changes: 2 additions & 11 deletions examples/bubble-chart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,13 @@
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}

.legend {
grid-column: 3;
grid-row: 3;
align-self: end;
justify-self: end;
width: 220px;
height: 124px;
width: 14em;
height: 8em;
}

.point {
Expand Down
10 changes: 0 additions & 10 deletions examples/building-a-chart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<script src="../index.js"></script>
<link rel="stylesheet" href="../index.css">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
body {
display: flex;
margin: 0;
}

body>* {
flex: auto;
}
</style>
</head>

<body>
Expand Down
Loading

0 comments on commit e23f65b

Please sign in to comment.