Browse Source

scholar page templates

master
rdrew 5 days ago
parent
commit
e86f721468
  1. 7
      css/components.css
  2. 8
      css/homepage.css
  3. 3
      css/search.css
  4. 2
      templates/block/block--advanced-search.html.twig
  5. 3
      templates/layout/page--user.html.twig

7
css/components.css

@ -242,3 +242,10 @@ ul.inline li a {
.scrolltop:hover {
background: var(--secondary);
}
/*
.user-guest #main {
#tabs, h2 {
display: none;
}
}
*/

8
css/homepage.css

@ -3,6 +3,14 @@
font-size: 36px;
font-size: 2.25rem;
}
.slick button,
.slick--thumbnail .slick__slide img {
pointer-events: auto;
position: absolute !important;
background: none !important;
padding: 0 !important;
}
.homepage .messages.messages--status {
display: none;
}

3
css/search.css

@ -1,5 +1,8 @@
/* Search result page
--------------------------------------*/
main a.advanced_search_link {
display:none;
}
.page-content input[type="search"] {
width: 80%;
}

2
templates/block/block--advanced-search.html.twig

@ -35,6 +35,6 @@
{% block content %}
{{ content }}
{% endblock %}
<a href="/search">ADVANCED SEARCH</a>
<a class="advanced_search_link" href="/search">ADVANCED SEARCH</a>
</div><!--/.block-content -->
</div><!--/.block -->

3
templates/layout/page--user.html.twig

@ -22,7 +22,7 @@
{% include '@vre2024/template-parts/content-parts/content_top.html.twig' %}
{% endif %}
{% if logged_in %}
<h2>Manage Your Scholar Profile</h2>
<div id="tabs" class="profile_management">
<ul>
@ -52,6 +52,7 @@
<h3>Deposit Full Text:</h3>
{{ drupal_entity('webform', 'deposit_full_text') }}
</div>
{% endif %}
</div>
{{ page.content }}
</div>

Loading…
Cancel
Save