Skip to content

Commit

Permalink
Move commons out of the source tree
Browse files Browse the repository at this point in the history
  • Loading branch information
phoerious committed Dec 17, 2019
1 parent 040a00f commit c2d383d
Show file tree
Hide file tree
Showing 27 changed files with 58 additions and 2,170 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
.idea/
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache/
.jekyll-metadata/
.jekyll-cache
yarn-error.log
node_modules/
Expand Down
4 changes: 0 additions & 4 deletions .gitmodules

This file was deleted.

2 changes: 0 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# in the templates via {{ site.myvariable }}.

title: Webis
baseurl: ""
url: "https://webis.de"

# Build settings
markdown: kramdown
Expand Down
2 changes: 1 addition & 1 deletion _layouts/browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
---

<script src="/js/browser.js"></script>
<script src="{{ '/js/browser.js' | relative_url }}"></script>

<main class="uk-margin-medium" data-slidehub="">
<!-- SlideHub will hook itself as a child element into [data-slidehub] -->
Expand Down
13 changes: 7 additions & 6 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@
<meta name="description" content="{{ page.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="copyright" content="&copy; {{site.time | date: '%Y'}} Webis">
<link rel="icon" type="image/png" href="{{ '/img/favicon.png' | relative_url }}">
<link rel="icon" type="image/png" href="https://assets.webis.de/img/favicon.png">

<link rel="stylesheet" href="{{ '/css/style.css' | relative_url }}?{{site.time | date: '%s'}}">
{%- for css in page.additional_css %}
<link rel="stylesheet" href="{{ css | relative_url }}?{{site.time | date: '%s'}}">
{%- endfor %}
</head>
<body class="uk-offcanvas-content">
<script src="{{ '/commons/js/thirdparty/uikit/uikit.min.js' | relative_url }}"></script>
<script src="{{ '/commons/js/thirdparty/uikit/uikit-icons.min.js' | relative_url }}"></script>
<script src="https://assets.webis.de/js/hyphenate/hyphenate.min.js"></script>
<script src="https://assets.webis.de/js/thirdparty/uikit/uikit.min.js"></script>
<script src="https://assets.webis.de/js/thirdparty/uikit/uikit-icons.min.js"></script>

<div id="offcanvas-nav" class="mobile-nav" data-uk-offcanvas="overlay: true; flip: true;">
<div class="uk-offcanvas-bar">
Expand Down Expand Up @@ -58,7 +59,7 @@
<div class="uk-navbar-left">
<ul class="uk-navbar-nav">
<li{% if page.nav_active == "index" %} class="uk-active"{% endif %}>
<a href="{{ '/' | relative_url }}"><img src="{{ '/img/webis-logo.png' | relative_url }}" alt="Webis Logo" class="uk-logo"> Webis.de</a>
<a href="{{ '/' | relative_url }}"><img src="https://assets.webis.de/img/webis-logo.png" alt="Webis Logo" class="uk-logo"> Webis.de</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -204,8 +205,8 @@ <h5><a href="http://picapica.org/" class="uk-link-heading">Picapica</a></h5>

<div class="uk-align-right@m uk-margin-top">
&copy; {{site.time | date: '%Y'}} <a href="/">Webis group</a> <span class="uk-padding-small">&bullet;</span>
<a href="/people.html">Contact</a> <span class="uk-padding-small">&bullet;</span>
<a href="/legal.html">Impressum / Terms / Privacy</a>
<a href="{{ '/people.html' | relative_url }}">Contact</a> <span class="uk-padding-small">&bullet;</span>
<a href="{{ '/legal.html' | relative_url }}">Impressum / Terms / Privacy</a>
</div>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion _sass/_aitools.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#webis-aitable ul {
display: table-cell;
list-style-type: none;
padding: 0px;
padding: 0;
}

#webis-aitable li {
Expand Down
21 changes: 5 additions & 16 deletions _sass/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
}

.cover-background-fade {
@extend .uk-position-cover;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.85) 85%);
}

Expand All @@ -33,18 +37,3 @@
height: 50vh;
}
}

//.name {
// font-weight: lighter;
//}
//
//.people {
// .uk-card-body {
// padding: 7px;
// text-align: center;
// }
//}
//
//.people-university {
// text-transform: $nav-header-text-transform;
//}
21 changes: 19 additions & 2 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Webis theme variable overrides
// UIkit variable redefinitions
// Must be consistent with the original values from _sass/uikit/variables-theme.scss in webis-de-commons

$navbar-breakpoint: 1010px;
$breakpoint-small: 640px !default;
$breakpoint-medium: 960px !default;
$breakpoint-large: 1200px !default;
$breakpoint-xlarge: 1600px !default;

$global-emphasis-color: #333 !default;
$text-lead-color: $global-emphasis-color !default;
$global-muted-color: #999 !default;
$text-muted-color: $global-muted-color !default;

$global-small-font-size: 0.875rem !default;


// Webis Commons variable redefinitions
// Must be consistent with the original values from _sass/_variables.scss in webis-de-commons

$global-secondary-background: #323232 !default;
1 change: 0 additions & 1 deletion commons
Submodule commons deleted from 62eb86
12 changes: 4 additions & 8 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@
# Front matter to ensure Jekyll is processing the file.
---

// Variable overrides
@import "../_sass/variables";
@import url("https://assets.webis.de/css/style.css?{{site.time | date: '%s'}}");

// Webis styles
@import "../commons/_sass/main";
@import "../commons/_sass/prettyprint";
@import "../commons/_sass/_data_tables";
// Layout variables
@import "../_sass/_variables.scss";

// Custom styles
// Styles
@import "../_sass/index";
@import "../_sass/lecturenotes";
@import "../_sass/nosql_databases";
@import "../_sass/retrieval-models";
@import "../_sass/aitools";
@import "../_sass/tira";
@import "../_sass/person_resolution";

12 changes: 6 additions & 6 deletions data.html
Original file line number Diff line number Diff line change
Expand Up @@ -2650,10 +2650,10 @@ <h1>Data</h1>
</div>
</main>

<script src="/commons/js/thirdparty/jquery/jquery.slim.min.js"></script>
<script src="/commons/js/table-sorting.js"></script>
<script src="/commons/js/thirdparty/fontawesome/fontawesome.min.js"></script>
<script src="/commons/js/thirdparty/fontawesome/solid.min.js"></script>
<script src="/js/filter.js"></script>
<script src="/js/filter-data.js"></script>
<script src="https://assets.webis.de/js/thirdparty/jquery/jquery.slim.min.js"></script>
<script src="https://assets.webis.de/js/table-sorting.js"></script>
<script src="https://assets.webis.de/js/thirdparty/fontawesome/fontawesome.min.js"></script>
<script src="https://assets.webis.de/js/thirdparty/fontawesome/solid.min.js"></script>
<script src="{{ '/js/filter.js' | relative_url }}"></script>
<script src="{{ '/js/filter-data.js' | relative_url }}"></script>

4 changes: 2 additions & 2 deletions events.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,5 +541,5 @@ <h2><a id="puk-workshop-series"></a>PuK Workshop Series on Configuration and Des
</div>
</main>

<script src="/js/filter.js"></script>
<script src="/js/filter-paragraphs.js"></script>
<script src="{{ '/js/filter.js' | relative_url }}"></script>
<script src="{{ '/js/filter-paragraphs.js' | relative_url }}"></script>
4 changes: 2 additions & 2 deletions facilities.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,5 +423,5 @@ <h2><a id="website-maintenance"></a>Website Maintenance<a href="#footnote-access
</div> <!-- container -->
</main>

<script src="/js/filter.js"></script>
<script src="/js/filter-list.js"></script>
<script src="{{ '/js/filter.js' | relative_url }}"></script>
<script src="{{ '/js/filter-list.js' | relative_url }}"></script>
4 changes: 2 additions & 2 deletions for-students/completed-theses.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ <h1><a href="../for-students.html">For Students</a> <span data-uk-icon="chevron-
</div>
</main>

<script src="/js/bibentry.js"></script>
<script src="/js/bibentry-webis-de.js"></script>
<script src="{{ '/js/bibentry.js' | relative_url }}"></script>
<script src="{{ '/js/bibentry-webis-de.js' | relative_url }}"></script>
Binary file removed img/favicon.png
Binary file not shown.
Binary file removed img/webis-logo-gray.png
Binary file not shown.
54 changes: 0 additions & 54 deletions img/webis-logo-gray.svg

This file was deleted.

Binary file removed img/webis-logo-teal.png
Binary file not shown.
54 changes: 0 additions & 54 deletions img/webis-logo-teal.svg

This file was deleted.

Binary file removed img/webis-logo-white.png
Binary file not shown.
54 changes: 0 additions & 54 deletions img/webis-logo-white.svg

This file was deleted.

1,947 changes: 0 additions & 1,947 deletions img/webis-logo.ai

This file was deleted.

Binary file removed img/webis-logo.png
Binary file not shown.
4 changes: 2 additions & 2 deletions lecturenotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2935,5 +2935,5 @@ <h1>Lecturenotes</h1>
</div>
</main>

<script src="/js/filter.js"></script>
<script src="/js/filter-lecturenotes.js"></script>
<script src="{{ '/js/filter.js' | relative_url }}"></script>
<script src="{{ '/js/filter-lecturenotes.js' | relative_url }}"></script>
4 changes: 2 additions & 2 deletions publications.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ <h1>Publications</h1>
</div>
</main>

<script src="/js/bibentry.js"></script>
<script src="/js/bibentry-webis-de.js"></script>
<script src="{{ '/js/bibentry.js' | relative_url }}"></script>
<script src="{{ '/js/bibentry-webis-de.js' | relative_url }}"></script>
4 changes: 2 additions & 2 deletions research.html
Original file line number Diff line number Diff line change
Expand Up @@ -480,5 +480,5 @@ <h2><a id="software-engineering-and-tool-development"></a>Software Engineering a
</div>
</main>

<script src="/js/filter.js"></script>
<script src="/js/filter-list.js"></script>
<script src="{{ '/js/filter.js' | relative_url }}"></script>
<script src="{{ '/js/filter-list.js' | relative_url }}"></script>
Loading

0 comments on commit c2d383d

Please sign in to comment.