aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-07-17 21:25:21 +0200
committerNoah Loomans <noahloomans@gmail.com>2017-07-17 21:25:21 +0200
commitbf44c44d4e67c8dc5968a9a688a2d934c3d21164 (patch)
tree3cf6c09691987f746d357c8cc29388b5cf43cb8b
parentf72a71927b89a0455414d48da5211df07051bfca (diff)
Use the beta credly widget
-rw-r--r--articles/badges.md3
-rw-r--r--style/credly-widget.scss7
-rw-r--r--style/main.scss1
3 files changed, 9 insertions, 2 deletions
diff --git a/articles/badges.md b/articles/badges.md
index b008615..6c2ec24 100644
--- a/articles/badges.md
+++ b/articles/badges.md
@@ -5,5 +5,4 @@ permalink: /badges/
Below you can see the badges that I earned, you can also view my
[credly profile](https://credly.com/u/2193255).
-<iframe src="https://credly.noahloomans.com/user/2193255" frameborder="0"
- width="100%" height="800"></iframe> \ No newline at end of file
+<script data-type="user" data-id="2193255" async="" defer="" src="https://beta.credly.noahloomans.com/credly-widget.js"></script>
diff --git a/style/credly-widget.scss b/style/credly-widget.scss
new file mode 100644
index 0000000..9c495a9
--- /dev/null
+++ b/style/credly-widget.scss
@@ -0,0 +1,7 @@
+.credly__user {
+ line-height: initial;
+
+ &, * {
+ box-sizing: initial;
+ }
+}
diff --git a/style/main.scss b/style/main.scss
index 01dcb6c..b6ceff4 100644
--- a/style/main.scss
+++ b/style/main.scss
@@ -12,6 +12,7 @@ $page-padding-between: 40px;
@import 'projects';
@import 'responsive';
@import 'random-project';
+@import 'credly-widget';
* {
box-sizing: border-box;