Browse Source

added style to organizationand person

master
JoBCB 4 years ago
parent
commit
70a5ee7ac0
  1. 25
      static/css/style.css
  2. 4
      templates/organisation.html
  3. 4
      templates/person.html

25
static/css/style.css

@ -32,9 +32,21 @@ font-style: normal;
/***************** EMERGENCY BUTTON AND MOCKUPS****************/ /***************** EMERGENCY BUTTON AND MOCKUPS****************/
div#backend-data-button{ div#backend-data-button{
background-color: #1B42D8; max-width: 365px !important;
width: 250px; min-height: 48px !important;
height: 55px; font-family: 'Roboto Condensed Bold', sans-serif;
font-size: calc(12px + (14 - 12) * ((100vw - 768px) / (1400 - 768)));
line-height: 16px;
font-weight: bold;
font-stretch: condensed;
font-style: normal;
line-height: normal;
letter-spacing: 1.5px;
text-align: center;
text-decoration: none;
color: #ffffff;
cursor: pointer;
background-color: var(--blue-blue);
border-radius: 6px; border-radius: 6px;
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
@ -42,6 +54,12 @@ div#backend-data-button{
justify-content: center; justify-content: center;
margin-top: 20px; margin-top: 20px;
} }
img.placeholder-style {
width: 100%;
}
div#container-backend-data-button a{ div#container-backend-data-button a{
text-decoration: none; text-decoration: none;
} }
@ -1331,3 +1349,4 @@ div#tutorials-intro h3, div#tutorials-intro p {
margin: auto; margin: auto;
} }

4
templates/organisation.html

@ -6,13 +6,13 @@
<div id="container-backend-data-button"> <div id="container-backend-data-button">
<a target="_blank" href="https://daap.bannerrepeater.org/wiki/Item:{{ org_id }}"> <a target="_blank" href="https://daap.bannerrepeater.org/wiki/Item:{{ org_id }}">
<div id="backend-data-button"> <div id="backend-data-button" class="primary-button">
<span>Go to backend to see live data</span> <span>Go to backend to see live data</span>
</div> </div>
</a> </a>
</div> </div>
<img src="{{ url_for('static', filename='/imgs/Pages/mockup_page_org.png') }}"> <img class="placeholder-style" src="{{ url_for('static', filename='/imgs/Pages/mockup_page_org.png') }}">
{% endblock content %} {% endblock content %}

4
templates/person.html

@ -6,13 +6,13 @@
<div id="container-backend-data-button"> <div id="container-backend-data-button">
<a target="_blank" href="https://daap.bannerrepeater.org/wiki/Item:{{ person_id }}"> <a target="_blank" href="https://daap.bannerrepeater.org/wiki/Item:{{ person_id }}">
<div id="backend-data-button"> <div id="backend-data-button" class="primary-button">
<span>Go to backend to see live data</span> <span>Go to backend to see live data</span>
</div> </div>
</a> </a>
</div> </div>
<img src="{{ url_for('static', filename='/imgs/Pages/mockup_page_person.png') }}"> <img class="placeholder-style" src="{{ url_for('static', filename='/imgs/Pages/mockup_page_person.png') }}">
{% endblock content %} {% endblock content %}
Loading…
Cancel
Save