Browse Source

incorporating updates from Joana

solr_update
Simon Bowie 2 years ago
parent
commit
7dbbbcfa9b
4 changed files with 28 additions and 15 deletions
  1. +1
    -1
      web/app/static/js/main.js
  2. +27
    -14
      web/app/static/styles/custom.css
  3. BIN
      web/app/static/styles/fonts/MetaAccanthisAlternate.ttf
  4. BIN
      web/app/static/styles/fonts/MetaAccanthis_regular.ttf

+ 1
- 1
web/app/static/js/main.js View File

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

+ 27
- 14
web/app/static/styles/custom.css View File

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


@font-face { @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-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 { @font-face {
--color-gray: #edecec; --color-gray: #edecec;
--color-blue: #4f1dff; --color-blue: #4f1dff;
--color-pink: #cc285f; --color-pink: #cc285f;
--title-font: "Cmunobi";
--title-font: "MetaAccanthis"; /* Cmunobi */
--body-font: "Compagnon"; --body-font: "Compagnon";


/*@media screen and (min-width: 320px)*/ /*@media screen and (min-width: 320px)*/
font-size: var(--body-fontsize); 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 ****************/ /***************** MOBILE ****************/


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

BIN
web/app/static/styles/fonts/MetaAccanthisAlternate.ttf View File


BIN
web/app/static/styles/fonts/MetaAccanthis_regular.ttf View File


Loading…
Cancel
Save