Skip to content

Commit

Permalink
Merge pull request OpenKnowledgeMaps#576 from OpenKnowledgeMaps/tripl…
Browse files Browse the repository at this point in the history
…e-searchflow-css-updates

How-it-works CSS & logic
  • Loading branch information
chreman authored Oct 8, 2021
2 parents 89ae1c1 + 5f1d5f6 commit 5609b54
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 9 deletions.
5 changes: 2 additions & 3 deletions examples/triple/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
<?php include('search-flow/inc/shared/head-search-form.php') ?>
</head>

<body style="padding-left:10px; padding-right:10px;">
<body>
<?php include('search-flow/inc/shared/banner-browser-unsupported.php') ?>
<?php include('search-flow/inc/shared/banner-mobile.php') ?>
<div>
<div style="padding-right: 10px; padding-left: 10px;">
<h2>Search TRIPLE and turn it into a visualization</h2>
<?php include('search-flow/inc/search-form/search-form.php') ?>
<script type="text/javascript " src="search-flow/js/search_form.js "></script>
Expand Down
8 changes: 3 additions & 5 deletions examples/triple/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
<?php include('search-flow/inc/shared/head-search-form.php') ?>
</head>

<body style="padding-left:10px; padding-right:10px;" class="searchpage">
<body class="searchpage">
<div>
<?php include('search-flow/inc/shared/banner-browser-unsupported.php') ?>
<?php include('search-flow/inc/shared/banner-mobile.php') ?>
<?php
include('search-flow/inc/waiting-page/waiting-page.php')
?>
<?php include('search-flow/inc/waiting-page/waiting-page.php') ?>
<?php include('search-flow/inc/how-it-works/how-it-works.php') ?>

<script type="text/javascript " src="search-flow/js/search.js "></script>
<link rel="stylesheet" href="triple-searchflow.css">
Expand Down
33 changes: 32 additions & 1 deletion examples/triple/triple-searchflow.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body, .refine-search {
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.center-div {
Expand Down Expand Up @@ -96,4 +96,35 @@ font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
.basic-button:hover, .basic-button:active, .basic-button:focus {
color: #622166;
background-color: transparent;
}

.searchpage .h2reverse, .searchpage .number {
color: #333;
}

.howitworks-div {
padding: 0px 20px;
}

@media screen and (max-width: 1030px) {

.center-div {
margin: 0px auto 0;
}
}

@media screen and (max-width: 535px) {

.center-div {
padding: 20px;
width: 80%;
margin: 0px auto;
}
}

@media screen and (max-width: 360px) {
.center-div {
padding: 20px;
width: 80%;
}
}

0 comments on commit 5609b54

Please sign in to comment.