-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self service, lang: en, size: A3 #1
Open
matejc
wants to merge
2
commits into
gh-pages
Choose a base branch
from
selfservice
base: gh-pages
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html mozNoMarginBoxes mozDisallowSelectionPrint> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<base href="{{ site.baseurl }}/"/> | ||
<link rel="stylesheet" href="{{ site.baseurl }}/css/a4.css"/> | ||
{% if page.size == 'a3' %} | ||
<link rel="stylesheet" href="{{ site.baseurl }}/css/a3.css"/> | ||
{% endif %} | ||
{% if page.orientation == 'landscape' and page.size != 'a3' %} | ||
<link rel="stylesheet" href="{{ site.baseurl }}/css/a4landscape.css"/> | ||
{% endif %} | ||
{% if page.orientation == 'landscape' and page.size == 'a3' %} | ||
<link rel="stylesheet" href="{{ site.baseurl }}/css/a3landscape.css"/> | ||
{% endif %} | ||
</head> | ||
<body> | ||
{{ content }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: Self service | ||
layout: paper | ||
size: a3 | ||
--- | ||
{::options parse_block_html="true" /} | ||
|
||
<div class="a3page small-caps"> | ||
|
||
Self service :) | ||
{: .center .font20} | ||
|
||
| | | donation (at least) | | ||
| ![ClubMate](img/clubmate.png){: style="width:15em"} | **Club-Mate** is a caffeinated carbonated mate-extract beverage made by the Loscher Brewery near Münchsteinach, Germany, which originated in 1924. Club-Mate has 20 mg of caffeine per 100 ml. Club-Mate has a relatively low sugar content of 5 g/100 ml, and low calories compared to other beverages such as Coke or most energy drinks. | 2 € | | ||
| ![Coffee](img/coffee.png){: style="width:15em"} | **Coffee** is a brewed drink with a distinct aroma and flavor, prepared from roasted coffee beans, the seeds found inside "berries" of the Coffea plant. Coffee plants are cultivated in over 70 countries, primarily in equatorial Latin America, Southeast Asia, India and Africa. | 0.5 € | | ||
| ![NoodleSoup](img/noodlesoup.png){: style="width:15em"} | **Noodle Soup** | 0.5 € | | ||
| ![Tea](img/tea.png){: style="width:15em"} | **Tea** of your choice. | 0.1 € | | ||
{: .tpadding} | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
.a3page { | ||
height: 42cm; | ||
max-height: 42cm; | ||
width: 29.7cm; | ||
padding: 1.5cm 2cm; /* That's the page print margin */ | ||
background: white; | ||
margin: 0.5cm auto; | ||
box-shadow: 0 0 .5cm rgba(0, 0, 0, 0.5); | ||
} | ||
|
||
@page { | ||
size: A3; | ||
margin: 0; | ||
} | ||
@media print { | ||
html, | ||
body { | ||
height: 42cm; | ||
width: 297mm; | ||
} | ||
.a3page { | ||
margin: 0; | ||
width: initial; | ||
min-height: initial; | ||
box-shadow: initial; | ||
background: transparent; | ||
page-break-after: always; | ||
page-break-before: auto; | ||
page-break-inside: avoid; | ||
orphans: 0; | ||
widows: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
.a3page { | ||
height: 29.7cm; | ||
max-height: 29.7cm; | ||
width: 42cm; | ||
padding: 2cm; /* That's the page print margin */ | ||
} | ||
|
||
@page { | ||
size: A3 landscape; | ||
margin: 0; | ||
} | ||
@media print { | ||
html, | ||
body { | ||
height: 29.7cm; | ||
width: 42cm; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* binary |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't all these be inherited from a4page? Like if the div was
<div class="a4page a3page">
. While everything were inherited from a4page, the size overrides of a3page would prevail.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats ugly, will do something better...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another, better, idea is: Jekyll on GitHub supports SCSS which has
@include
s.