Commit a7620bd0 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Première version.

No related merge requests found
Pipeline #11141 failed with stage
in 23 seconds
Showing with 176 additions and 0 deletions
+176 -0
.editorconfig 0 → 100644
root=true
[*]
end_of_line = lf
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
charset = utf-8
insert_final_newline = true
\ No newline at end of file
.gitignore 0 → 100644
/plz-out
# Please output directory
plz-out
build:
tags: [docker]
image: busybox:glibc
before_script:
- mkdir -p /usr/local/bin
- wget https://github.com/thought-machine/please/releases/download/v14.3.5/please_14.3.5_linux_amd64.tar.gz
- chmod +rx /usr/local/bin/*
script:
- please build //theme
- cp -av plz-out/gen/reveal.js reveal.js
artifacts:
name: reveal.js-$CI_COMMIT_REF_SLUG
paths:
- reveal.js/
cache:
key: "$CI_COMMIT_REF_NAME"
paths:
- plz-out
.plzconfig 0 → 100644
[please]
version = 14.3.5
BUILD 0 → 100644
package(default_visibility = ["PUBLIC"])
filegroup(
name = "theme",
srcs = [
"//css/theme",
"//lib",
"///upstream//:reveal.js",
],
)
export_file(
name = "rules",
src = "rules.build_defs",
)
subrepo(
name = "tools",
path = "tools",
)
github_repo(
name = "upstream",
repo = "hakimel/reveal.js",
revision = "3.9.2",
build_file = "upstream.BUILD",
hashes = "36f90d77ab3951b6185e631a1fc847bd8563d8bd",
)
package(default_visibility = ["PUBLIC"])
subinclude("///tools//:rules")
filegroup(
name = "theme",
srcs = [
sass(
"source/inrae.scss",
"reveal.js/css/theme/inrae.css",
["///upstream//:theme-templates"],
),
],
)
// Default mixins and settings -----------------
@import "../template/mixins";
@import "../template/settings";
// ---------------------------------------------
// Override theme settings (see ../template/settings.scss)
$backgroundColor: #fff;
$mainColor: #000;
$headingColor: #00a3a6;
$mainFontSize: 20pt;
$mainFont: "Avenir Next LT Pro Condensed", Helvetica, sans-serif;
$headingFont: "Raleway Bold", Helvetica, sans-serif;
$headingTextShadow: none;
$headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingFontWeight: normal;
$linkColor: #275662;
$linkColorHover: lighten($linkColor, 15%);
$selectionBackgroundColor: lighten($linkColor, 25%);
$heading1Size: 2.5em;
$heading2Size: 1.6em;
$heading3Size: 1.3em;
$heading4Size: 1em;
// Theme template ------------------------------
@import "../template/theme";
// ---------------------------------------------
// Fonts ---------------------------------------
@import url("../../lib/font/raleway/style.css");
@import url("../../lib/font/avenir_next_pro/style.css");
// ---------------------------------------------
.reveal {
section.slide {
text-align: left;
}
* > h1.title,
section.slide h1:first-child,
section.slide h2:first-child {
display: list-item block;
list-style: url("../../lib/image/puce.png") outside;
}
div.sourceCode {
margin: 0 !important;
pre {
margin: 10px;
}
}
}
.reveal:not(.overview) {
.slide-background:first-child {
background: url("../../lib/image/logo-first-page.png") 50% 1em no-repeat,
url("../../lib/image/hollow-background-icon.png") 0 40vh / auto 35vh
no-repeat,
white;
}
.slide-background:not(:first-child) {
background: url("../../lib/image/transparent-background-icon.png") 0% 100% /
auto 15vh no-repeat,
white;
}
}
lib/BUILD 0 → 100644
package(default_visibility = ["PUBLIC"])
subinclude("///tools//:rules")
filegroup(
name = "lib",
srcs = [
process(
src,
"reveal.js/lib/%s" % src,
)
for src in glob(["**"])
],
)
File added
File added
This source diff could not be displayed because it is too large. You can view the blob instead.
File added
File added
File added
@font-face {
font-family: "Avenir Next LT Pro Condensed";
src: url("./AvenirNextLTPro.eot"); /* IE9 Compat Modes */
src: url("./AvenirNextLTPro.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("./AvenirNextLTPro.otf") format("opentype"), /* Open Type Font */
url("./AvenirNextLTPro.svg") format("svg"), /* Legacy iOS */
url("./AvenirNextLTPro.ttf") format("truetype"), /* Safari, Android, iOS */
url("./AvenirNextLTPro.woff") format("woff"), /* Modern Browsers */
url("./AvenirNextLTPro.woff2") format("woff2"); /* Modern Browsers */
font-weight: normal;
font-style: normal;
}
\ No newline at end of file
File added
File added
This diff is collapsed.
File added
File added
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment