-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating style assets #110
Changes from all commits
4384e80
2bb1e80
e304ab2
8ba5349
ec68ee6
d058f72
77a256e
36b3733
ada3251
af2fff9
f7c03dc
878d8ae
4315b77
cf91c99
698d643
02b9020
3e9a8ce
c27bfef
bd445fb
ebc7ac1
50bb888
4742640
0f20a7c
f1aaecf
cbbd8c7
b2b802f
bfc4de3
4cb9d6a
705770e
c5bb499
cf6935e
daa6a0d
027babe
434aaa2
7cc1ee7
aa3909c
3d8dd3d
dab647d
f289835
5644141
d9c07e2
86ceeed
f20b335
b5665f4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
/* for analysis list and detail pages */ | ||
|
||
.card-area { | ||
margin-top: 2rem; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
.bibliography__area { | ||
margin: 2rem 1rem; | ||
} | ||
.bibliography__item { | ||
margin-bottom: 1rem; | ||
display: flex; | ||
columns: 2; | ||
margin: 1vw 6vw; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just curious why the change from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might just be personal bias but I felt like it worked a bit better for responsiveness - maybe since it's based off the width of the screen instead of an element? |
||
|
||
> :first-child { | ||
flex: 0 0 75%; /* shorthand for flex-grow, flex-shrink, and flex-basis */ | ||
} | ||
.bibliography__item { | ||
margin-bottom: 1rem; | ||
padding-inline-start: 1vw; | ||
display: flex; | ||
columns: 2; | ||
|
||
> :first-child { | ||
flex: 0 0 75%; | ||
} | ||
|
||
> :last-child { | ||
flex: 1; /* The second column takes the remaining space */ | ||
> :last-child { | ||
flex: 1; /* The second column takes the remaining space */ | ||
} | ||
} | ||
.ro { | ||
/* odd rows get a colour to make things more readable */ | ||
background-color: var(--cyan-0); | ||
} | ||
} | ||
|
||
.bib__ref-list { | ||
font-size: 0.7rem; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,38 @@ | ||
/* Other css files */ | ||
@import url("utility-classes.css"); | ||
@import url("image-styles.css"); | ||
@import url("palette.css"); | ||
@import url("carousel.css"); | ||
@import url("film.css"); | ||
@import url("bibliography.css"); | ||
@import url("analysis.css"); | ||
@import url("utility-classes.css"); | ||
@import url("s3-browser.css"); | ||
@import url("animations.css"); | ||
|
||
/* open props */ | ||
@import url("open-props.min.css"); | ||
|
||
/**************** Google Fonts + MUI **********************/ | ||
/* Gruppo, Josefin Sans, Noto Serif, Open Sans, Playfair Display, Monoton */ | ||
@import url("https://fonts.googleapis.com/css2?family=Gruppo&family=Josefin+Sans&family=Noto+Serif&family=Open+Sans&family=Playfair+Display&family=Monoton&family=Montserrat&display=swap"); | ||
/* Gruppo, Open Sans, Playfair Display, Montserrat */ | ||
@import url("https://fonts.googleapis.com/css2?family=Gruppo&family=Noto+Serif&family=Open+Sans&family=Playfair+Display&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"); | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"); | ||
|
||
/**************** Engebrechtre Font *******************/ | ||
@font-face { | ||
font-family: "Engebrechtre"; | ||
src: url("../fonts/engebrechtre/engebrechtre_rg.otf") format("opentype"); | ||
} | ||
/**************** Agency FB Font *******************/ | ||
@font-face { | ||
font-family: "Engebrechtre"; | ||
font-style: italic; | ||
src: url("../fonts/engebrechtre/engebrechtre_rg_it.otf") format("opentype"); | ||
font-family: "Agency FB"; | ||
font-weight: normal; | ||
font-style: normal; | ||
src: url("../fonts/agencyfb/agencyfb_reg.ttf") format("truetype"); | ||
} | ||
@font-face { | ||
font-family: "Engebrechtre"; | ||
font-style: bold, italic; | ||
src: url("../fonts/engebrechtre/engebrechtre_bd_it.otf") format("opentype"); | ||
} | ||
@font-face { | ||
font-family: "Engebrechtre"; | ||
font-family: "Agency FB"; | ||
font-weight: bold; | ||
font-style: bold; | ||
src: url("../fonts/engebrechtre/engebrechtre_bd.otf") format("opentype"); | ||
src: url("../fonts/agencyfb/agencyfb_bold.ttf") format("truetype"); | ||
} | ||
|
||
/*************** Standing Room Only Font **************/ | ||
|
||
/****************** Impact Font ******************/ | ||
@font-face { | ||
font-family: "Standing Room Only"; | ||
src: url("../fonts/standingroomonly/StandingRoomOnlyNF.otf") | ||
format("opentype"); | ||
font-family: "Impact"; | ||
src: url("../fonts/impact/impact.ttf") format("truetype"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this now excluded because files are no longer used for videos (only links)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep! All the other models that are based on links can still use files, and technically speaking, you could add a file to a video instance still, but you'd have to do it through the command line. This just disables it from being shown in the admin frontend so the researchers can't use it