Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Vertonghen committed Jul 8, 2024
1 parent b5bbd2b commit 26ee663
Show file tree
Hide file tree
Showing 14 changed files with 414 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
Binary file added images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions scripts/remark.min.js

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions slides/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>

<head>
<title>Enterprise Web Development C&#35; - Template</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../styles/main.css">
<link rel="icon" type="image/png" sizes="32x32" href="../images/favicon.png">
</head>

<body>

<script src="../scripts/remark.min.js"></script>
<script>
var slideshow = remark.create({
sourceUrl: 'presentation.md',
highlightLanguage: 'cs',
highlightSpans: true, // Highlight parts of code via backticks ``
highlightStyle: 'vs',
highlightLines: true, // Highlight line of code by prefixing the line with *
navigation: {
scroll: false
}
});
</script>
</body>

</html>
17 changes: 17 additions & 0 deletions slides/presentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class: dark middle

# Blazor Workshop
> An introduction
---
### Template
# Table of contents

- [Components](#components)

---
name:components
### Template
# Components

---
3 changes: 3 additions & 0 deletions styles/_fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import url('https://fonts.googleapis.com/css?family=Lekton');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

18 changes: 18 additions & 0 deletions styles/_mixins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@import 'variables';

// Determines the layout of the slide dark/light
@mixin layout($colorschema) {
@if $colorschema==$light {
background-color: $light;
color: $dark;
background-image: url(../images/logo.svg);
}
@else {
background-color: $dark;
color: $light;
background-image: url(../images/logo.svg);
}
background-size: 100px;
background-position: 99% 1%;
background-repeat: no-repeat;
}
6 changes: 6 additions & 0 deletions styles/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$dark: #222;
$light: #f3f3f3;
$highlight: #f92672;
$link: #26bdf9;
$warning: #f9d226;
$danger:#f96926;
127 changes: 127 additions & 0 deletions styles/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions styles/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

97 changes: 97 additions & 0 deletions styles/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
@import 'variables';
@import 'mixins';
@import 'fonts';
body {
font-family: 'Lekton', sans-serif;
}

.remark-slide-content {
font-size: initial;
b, strong{
color:$highlight;
}
@include layout($light);
.remark-slide-number {
bottom: 0px;
right: 3%;
}
ul {
list-style-type: none;
li {
text-indent: -5px;
&:before {
content: "- ";
text-indent: -5px;
}
}
}
h1,
h2,
h3,
h4 {
font-weight: 300;
margin-top: 10px;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.6rem;
}
h3 {
font-size: 1.0rem;
margin-bottom: 0;
}
h4 {
font-size: 0.8rem;
}
blockquote {
border-left: .25em solid #dfe2e5;
padding: 0 1em;
text-align: left;
margin-inline-start:0;
}
.footnote {
position: absolute;
bottom: 3em;
}
.red {
color: $highlight;
}
.html.remark-inline-code{
color:$danger;
}

}

.dark {
@include layout($dark);
}

h1,
h2 {
line-height: 0.6em;
}

a {
color: $link;
text-decoration: none;
font-weight: bold;
}
table {
border-collapse: collapse;
}
th, td {
padding: 5px;
border: 1px solid red;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;

> * {
margin-left: auto;
margin-right: auto;
}
}
Loading

0 comments on commit 26ee663

Please sign in to comment.