Skip to content

Commit

Permalink
Merge pull request #611 from ualbertalib/CMS_content_2024
Browse files Browse the repository at this point in the history
Refreshed seed-content after Rebranding effort, CR1201
  • Loading branch information
murny authored Aug 7, 2024
2 parents fca4948 + a7e00a7 commit adb1fe1
Show file tree
Hide file tree
Showing 630 changed files with 55,937 additions and 11,605 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
label: Textbook Affordability initiatives (2).png
description:
categories:
- wysiwyg
5 changes: 5 additions & 0 deletions db/cms_seeds/library-cms-seeds/files/_slac_2024.jpg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
label: slac_2024.jpg
description:
categories:
- wysiwyg
5 changes: 5 additions & 0 deletions db/cms_seeds/library-cms-seeds/files/_ztc label.png.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
label: ztc label.png
description:
categories:
- wysiwyg
5 changes: 5 additions & 0 deletions db/cms_seeds/library-cms-seeds/files/_ztc.png.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
label: ztc.png
description:
categories:
- wysiwyg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added db/cms_seeds/library-cms-seeds/files/ztc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[attributes]
---
label: Archives HTML
app_layout: basic
position: 1
[content]
<div class="container">
<div class="row pb-3">
<div class="col-3">
<a class="navbar-brand" href="https://www.ualberta.ca">
<img src="https://www.ualberta.ca/_assets/images/ua-logo-reversed-white.svg" class="d-inline-block align-top mt-2" alt="University of Alberta Archives Logo" width="180px">
</a>
</div>
<div class="col-9">
{{ cms:snippet 2020archives-nav }}
</div>
</div>
</div>

<div class="container">

<div class="row mb-4 mt-3">
<div class="col-12">

<h1>
{{ cms:text page-title}}
</h1>
<div class="uaa-content-card">

<div class="row">


<div class="col-md-12">

{{ cms:textarea content }}

</div>
</div>

[js]

[css]
@import "/cms-css/1/archives.css";
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[attributes]
---
label: Archives Secondary
app_layout: basic
position: 0
[content]
<div class="container">
<div class="row pb-3">
<div class="col-3">
<a class="navbar-brand" href="https://www.ualberta.ca">
<img src="https://www.ualberta.ca/_assets/images/ua-logo-reversed-white.svg" class="d-inline-block align-top mt-2" alt="University of Alberta Archives Logo" width="180px">
</a>
</div>
<div class="col-9">
{{ cms:snippet 2020archives-nav }}
</div>
</div>
</div>

<div class="container">

<div class="row mb-4 mt-3">
<div class="col-12">

<h1>
{{ cms:text page-title}}
</h1>
<div class="uaa-content-card">

<div class="row">


<div class="col-md-8">
{{ cms:wysiwyg content}}
</div>
<div class="col-md-4">
<div class="uaa-card">
{{ cms:wysiwyg sidebar}}
</div>
</div>
</div>
</div>
</div>
</div>
[js]

[css]
@import "/cms-css/1/archives.css";

186 changes: 186 additions & 0 deletions db/cms_seeds/library-cms-seeds/layouts/archives/content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
[attributes]
---
label: Archives
app_layout: basic
position: 3
[content]
<body class="d-flex flex-column h-100 uaa">
<main role="main" class="flex-shrink-0">
{{ cms:textarea content }}
</main>
<footer class="footer mt-auto uaa-footer">
<div class="container">
<div class="row p-3">
<div class="col-md-4">

<p class="text-center text-lg-left mr-4 small mt-3">
<a href="/" aria-label="UA Library Home" class="text-white">University of Alberta Library</a><br/>This site is licensed under a <br/><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="text-white">Creative Commons License</a><br/> <a href="/about-us/policies/privacy-policy" class="text-white">Website Privacy Policy</a>
</p>
</div>
<div class="col-md-4">

<a href="https://www.ualberta.ca" aria-label="UA Home" >
<img src="https://www.ualberta.ca/_assets/images/ua-logo-reversed-white.svg" width="65%" type="image/svg+xml" alt="UA Library Logo" class="mt-lg-4 m-4 pl-4 pl-lg-0">
</a>
</div>
<div class="col-md-4">
<p class="text-center text-lg-right small">The University of Alberta Archives acknowledges that we are located on Treaty 6 and Métis territory. We respect the histories, languages, and cultures of First Nations, Métis, Inuit, and all First Peoples, whose presence continues to enrich our vibrant community.</p>
</div>
</div>
</div>
</footer>
</body>
[js]

[css]
body{
background-color:#000;
}
.w-95{
width:95%;
}
.uaa-nav li{
margin-right:0.3rem;
}
.navbar-nav{
margin-right:-10px;
}
.navbar-dark .navbar-nav .nav-link{
color:#fff;
background-color:#333;
text-decoration:none;
display:block;
font-weight:normal;
font-size:1em;
border-bottom: none;
}
.navbar-brand{
border-bottom:none;
}
.uaa-nav li a i{
color:#fcdc4b;
}
.navbar-dark .navbar-nav .nav-link:hover{
background-color:#444;
}
.uaa-nav li a:hover i{
color:#fff;
}
.uaa-footer{
background-color:#333;
color:#fff;
}
p.welcome{
color:#fff;
}
p.welcome a{
color:#fff;
font-weight:bold;
text-decoration:underline;
font-size:0.9em;
border-bottom: none;
}
p.welcome a:hover{
color:#FFEF7B;
}
.img-hover-zoom{
overflow:hidden;
}
.img-hover-zoom img {
transition: all 1s ease-in-out;
opacity:0.8;
}
.img-hover-zoom:hover img{
transform: scale(1.1);
opacity:1;
}
.img-hover-zoom a i {
top: 50%;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
z-index:1000;
font-size:2em;
opacity:0;
transition: opacity 0.5s ease-in-out;
color:#333;
border-radius:5px;
padding:0 3px;
}
.img-hover-zoom:hover i{
opacity:0.75;
background-color:#fff;
}
.uaa-btn{
background-color:#ffe335;
color:#000;
}
.uaa-btn:hover{
background-color: #FEFE27;
}
.footer a{
border-bottom: none;
}
.uaa-content-card{
padding:2.1rem;
background-color:#fff;
}
.uaa-content{
padding:0;
background-color:#fff;
}
.uaa-content-card a{
text-decoration: none;
padding-bottom: 1px;
color:#084F55;
border-bottom: 1px solid #084F55;
}
.uaa-content-card a:hover{
border-bottom: none;
text-decoration: none;
}
.uaa-content-card .list-group a{
border-bottom:none;
}
.uaa-content-card p{
line-height:1.7em;
font-size:1.1em;
}
.uaa-card{
border:1px solid #333;
background-color:#FEF8D7;
border-radius:4px;
padding:1rem 1rem 0 1rem;
margin-bottom:1rem;
}
.uaa-2nd-eq{
background-color:#FEF8D7;
}
.uaa-sidebar{
background-color:#FEF8D7;
padding:1.5em;
}
.uaa-small{
font-size:60%;
}
h1{
background:#444;
padding:0.5rem 1.5rem;
margin-bottom:0;
font-weight:200;
color:#fff;
letter-spacing:0.05em;
font-size: 1.4em;
}
h2{
color:#333;
font-size:1.8em;
}
h3{
color:#333;
font-size:1.4em;
}
@media (min-width: 48em) {
h1 {
font-size: 2.1em;
}
Loading

0 comments on commit adb1fe1

Please sign in to comment.