You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bmen 7d69761c10 server name eingetragen 2 years ago
css Initial Commit 3 years ago
doc doc: new search results grid image 3 years ago
img deleted no nooded images and renamed images for better understanding 3 years ago
js implemented parallax effect 3 years ago
.gitignore ignore all mac os system files 3 years ago '' ändern 3 years ago
detail.html implemented parallax effect 3 years ago
docker-compose.yml mysite.template zu site-conf umbenannt und pfad angepasst 2 years ago
index.html Added category and "to my list" button to search result item 3 years ago
site.conf server name eingetragen 2 years ago
style.css Added category and "to my list" button to search result item 3 years ago

OHO - Openource Hardware Observatory




The styling of the page is in the CSS file: style.css. In general, only the classes of elements of the media wiki have to be found out and transferred to the CSS. Some implementations are a bit more tricky and are described in more detail in this Readme.


All images are in the folder /img. There are sample images as well as individual icons, banner / footer backgrounds and logo files.


The Javascript Framework Jquery is used for this website. The javascript functions are saved in separate files in the /js folder and named according to their task.

Overview CSS classes homepage

Overview CSS classes homepage


.header {
.search-results-item:hover {
.row::before {
.row::after {
.searchbar {
.search-results-item {

Row - Background and red lines (CSS line: 51-87)

The rows who separating the content horizontally must be 100% wide. This means that the width restriction of the content must be made within the row. So the background color gradiation is in full width and the red lines are on the left and right side of the browser.

The red lines are purely CSS and no additionaly HTML elements have to be created.

.row::before {...}
.row::after {...}

Search results grid

Because of the hover effect, the search result item (.search-results-item) must be absolutely positioned. Therefore, it is important that there is a grid element (.col-1-4) above the search result item which is relatively positioned. And it needs even a minimum height, because the absolutely positioned search result item falls from the HTML flow.