瀏覽代碼

incorporating updates from Joana

solr_update
Simon Bowie 2 年之前
父節點
當前提交
7dbbbcfa9b
共有 4 個檔案被更改,包括 28 行新增15 行删除
  1. +1
    -1
      web/app/static/js/main.js
  2. +27
    -14
      web/app/static/styles/custom.css
  3. 二進制
      web/app/static/styles/fonts/MetaAccanthisAlternate.ttf
  4. 二進制
      web/app/static/styles/fonts/MetaAccanthis_regular.ttf

+ 1
- 1
web/app/static/js/main.js 查看文件

@@ -3,7 +3,7 @@
# @creation_date: 2022-09-07
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @author: Joana Chicau
# @author: Joana Chicau <web@joanachicau.com>
# @purpose: JavaScript functions for various functions
# @acknowledgements:
*/

+ 27
- 14
web/app/static/styles/custom.css 查看文件

@@ -3,7 +3,7 @@
# @creation_date: 2022-09-07
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @author: Joana Chicau
# @author: Joana Chicau <web@joanachicau.com>
# @purpose: Custom CSS to override Bootstrap 5 defaults
# @acknowledgements:
# Bootstrap 5.1.3: https://getbootstrap.com/
@@ -14,21 +14,15 @@
/* FONTS*/

@font-face {
font-family: "Astloch-B";
src: url(fonts/Astloch-Bold.ttf) format('truetype');
font-weight: bold;
}

@font-face {
font-family: "Astloch";
src: url(fonts/Astloch-Regular.ttf) format('truetype');
font-weight: normal;
font-family: "MetaAccanthis";
src: url(fonts/MetaAccanthis_regular.ttf) format('truetype');
font-weight: bold;
}

@font-face {
font-family: "Abordage";
src: url(fonts/Abordage-Regular.otf) format('opentype');
font-weight: normal;
font-family: "MetaAccanthisAlternate";
src: url(fonts/MetaAccanthisAlternate.ttf) format('truetype');
font-weight: normal;
}

@font-face {
@@ -69,7 +63,7 @@
--color-gray: #edecec;
--color-blue: #4f1dff;
--color-pink: #cc285f;
--title-font: "Cmunobi";
--title-font: "MetaAccanthis"; /* Cmunobi */
--body-font: "Compagnon";

/*@media screen and (min-width: 320px)*/
@@ -332,6 +326,25 @@ body#random-img-page{
font-size: var(--body-fontsize);
}

/* DATA */

canvas > * {
font-family: var(--body-font) !important;
}

.anchordata {
margin: 1rem 2rem;
z-index: 999;
position: fixed;
right: 0;
transform: skewY(10deg);
}

.anchordata a {
text-decoration: none;
border-bottom: 0.20rem var(--color-lightyellow) solid;
}

/***************** MOBILE ****************/

@media screen and (min-width:0px) and (max-width: 768px) {

二進制
web/app/static/styles/fonts/MetaAccanthisAlternate.ttf 查看文件


二進制
web/app/static/styles/fonts/MetaAccanthis_regular.ttf 查看文件


Loading…
取消
儲存