Skip to content
Snippets Groups Projects
Commit a2e5ac7a authored by Philip Mundt's avatar Philip Mundt
Browse files
parents 26afddf8 d01ed2e0
No related branches found
No related tags found
No related merge requests found
...@@ -97,6 +97,7 @@ def main(): ...@@ -97,6 +97,7 @@ def main():
print("DONE") print("DONE")
def makeauthors(authors, out): def makeauthors(authors, out):
print("Starting on authors...")
authors = authors.replace("\n", " ").replace(" and ", "|").strip() # "and" durch "|" ersetzen und Whitespace entfernen authors = authors.replace("\n", " ").replace(" and ", "|").strip() # "and" durch "|" ersetzen und Whitespace entfernen
autlist = authors.split("|") autlist = authors.split("|")
...@@ -143,12 +144,10 @@ def articleHTML(dictio, x, out): ...@@ -143,12 +144,10 @@ def articleHTML(dictio, x, out):
print("Writing html code for article "+ str(x) + "...") print("Writing html code for article "+ str(x) + "...")
out.write("{/*<!-- Citation num " + str(x) + "--> */}" + "\n") out.write("{/*<!-- Citation num " + str(x) + "--> */}" + "\n")
out.write("<li typeof=\"schema:ScolarlyArticle\" role=\"doc-biblioentry\" property=\"schema:citation\" id=\"desc-" + str(x) + "\">"+ "\n") out.write("<li typeof=\"schema:ScolarlyArticle\" role=\"doc-biblioentry\" property=\"schema:citation\" id=\"desc-" + str(x) + "\">"+ "\n")
# out.write("\t" + "<span property=\"schema:author\" typeof=\"schema:Person\">"+ "\n")
print("Just a sec, separating authors...") print("Just a sec, separating authors...")
authors = dictio['author'] authors = dictio['author']
print("giving authors...")
makeauthors(authors, out) makeauthors(authors, out)
# out.write("\t" +"</span>"+ "\n") # out.write("\t" +"</span>"+ "\n")
title = dictio['title'].replace('{', '').replace('}', '') title = dictio['title'].replace('{', '').replace('}', '')
out.write("\t" + "<span property=\"schema:name\">&nbsp;"+ title + "</span>. "+ "\n") out.write("\t" + "<span property=\"schema:name\">&nbsp;"+ title + "</span>. "+ "\n")
...@@ -163,6 +162,7 @@ def articleHTML(dictio, x, out): ...@@ -163,6 +162,7 @@ def articleHTML(dictio, x, out):
pag = re.split('--|-|–|–', pages) pag = re.split('--|-|–|–', pages)
begin = pag[0].strip() begin = pag[0].strip()
end = pag[1].strip() end = pag[1].strip()
print("- in pages")
out.write("\t" + ",&nbsp;<span property=\"schema:pageBegin\"> "+ begin +"</span>-<span property=\"schema:pageEnd\">"+ end + "</span>&nbsp;"+ "\n") out.write("\t" + ",&nbsp;<span property=\"schema:pageBegin\"> "+ begin +"</span>-<span property=\"schema:pageEnd\">"+ end + "</span>&nbsp;"+ "\n")
else: else:
if re.match(r'^\d+(-\d+)?$', pages): # Check for typical numeric page ranges if re.match(r'^\d+(-\d+)?$', pages): # Check for typical numeric page ranges
...@@ -192,6 +192,9 @@ def articleHTML(dictio, x, out): ...@@ -192,6 +192,9 @@ def articleHTML(dictio, x, out):
out.write("</li>" + "\n"+ "\n") out.write("</li>" + "\n"+ "\n")
def miscHTML(dictio, x, out): def miscHTML(dictio, x, out):
print("Writing html code for entry "+ str(x) + "...") print("Writing html code for entry "+ str(x) + "...")
out.write("{/*<!-- Citation num " + str(x) + "--> */}" + "\n") out.write("{/*<!-- Citation num " + str(x) + "--> */}" + "\n")
......
...@@ -99,6 +99,10 @@ nav .scrolllink span{ ...@@ -99,6 +99,10 @@ nav .scrolllink span{
width:16.66666667% !important; width:16.66666667% !important;
} }
sup a{
font-weight: bolder !important;
font-size: small !important;
}
.col-1{ .col-1{
width: 8.33333333% !important; width: 8.33333333% !important;
...@@ -160,7 +164,7 @@ p { ...@@ -160,7 +164,7 @@ p {
text-align: justify; text-align: justify;
} }
a { a {
color: var(--accent-gradient-one-of-three) !important; color: var(--lightblue) !important;
text-decoration: none !important; text-decoration: none !important;
} }
.our-h3{ .our-h3{
...@@ -178,7 +182,7 @@ code{ ...@@ -178,7 +182,7 @@ code{
} }
.doi{ .doi{
color: var(--text-primary) !important; color: var(--lightblue) !important;
} }
.codesnippet{ .codesnippet{
padding-left: 30px; padding-left: 30px;
...@@ -454,7 +458,7 @@ margin-bottom: 10vw !important; ...@@ -454,7 +458,7 @@ margin-bottom: 10vw !important;
} }
.h2{ .h2{
text-align:center; text-align:center;
text-transform:uppercase; /* text-transform:uppercase; */
color: var(--offblack) !important; color: var(--offblack) !important;
font-size: 3rem !important ; font-size: 3rem !important ;
letter-spacing: 1px; letter-spacing: 1px;
...@@ -483,7 +487,7 @@ margin-bottom: 10vw !important; ...@@ -483,7 +487,7 @@ margin-bottom: 10vw !important;
margin-bottom: 40px !important; margin-bottom: 40px !important;
text-align: center; text-align: center;
font-size: 2.5rem !important ; font-size: 2.5rem !important ;
text-transform: uppercase; /* text-transform: uppercase; */
padding-bottom: 5px; padding-bottom: 5px;
color: var(--offblack) !important; color: var(--offblack) !important;
margin-top: 5vh !important; margin-top: 5vh !important;
...@@ -510,7 +514,7 @@ margin-bottom: 10vw !important; ...@@ -510,7 +514,7 @@ margin-bottom: 10vw !important;
left: 50%; left: 50%;
bottom: -65px; bottom: -65px;
margin-left: -75px; margin-left: -75px;
background-color: var(--text-primary); background-color: inherit;
} }
h2{ h2{
...@@ -527,13 +531,16 @@ h2{ ...@@ -527,13 +531,16 @@ h2{
position: relative; position: relative;
} }
.nocaps{
text-transform: none !important;
}
.h4:after, .h4:before { .h4:after, .h4:before {
content: " "; content: " ";
display: block; display: block;
border-bottom: 1px solid var(--mediumpurple); border-bottom: 1px solid var(--mediumpurple);
border-top: 1px solid var(--mediumpurple); border-top: 1px solid var(--mediumpurple);
height: 5px; height: 5px;
background-color:var(--background); background-color: inherit;
} }
.h4{ .h4{
margin-top: 5px; margin-top: 5px;
...@@ -543,7 +550,7 @@ h2{ ...@@ -543,7 +550,7 @@ h2{
word-spacing:1px; word-spacing:1px;
font-weight:normal; font-weight:normal;
letter-spacing:2px; letter-spacing:2px;
text-transform: uppercase; /* text-transform: uppercase; */
font-weight:500; font-weight:500;
display: grid; display: grid;
grid-template-columns: 1fr max-content 1fr; grid-template-columns: 1fr max-content 1fr;
...@@ -644,7 +651,7 @@ footer a { ...@@ -644,7 +651,7 @@ footer a {
text-decoration: none; text-decoration: none;
} }
footer a:hover { footer a:hover {
color: var(--accent-gradient-three-of-three) !important; color: var(--lightblue) !important;
text-decoration: underline; text-decoration: underline;
} }
...@@ -3871,7 +3878,7 @@ height: min-content !important; ...@@ -3871,7 +3878,7 @@ height: min-content !important;
grid-gap: 20px; grid-gap: 20px;
align-items: center; align-items: center;
letter-spacing: 1px; letter-spacing: 1px;
text-transform: uppercase; /* text-transform: uppercase; */
align-self: center; align-self: center;
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
.landing-page-header button{ .landing-page-header button{
background-color: var(--darkerbeige); background-color: var(--accent-primary);
border-radius: 10px; border-radius: 10px;
padding: 10px; padding: 10px;
width: 30vw; width: 30vw;
......
...@@ -159,26 +159,26 @@ button.tabbutton.Medical.active, .modulators.active, .inhalations.active{ ...@@ -159,26 +159,26 @@ button.tabbutton.Medical.active, .modulators.active, .inhalations.active{
background-color: var(--igemlightgreen); background-color: var(--igemlightgreen);
} }
/* and buttons */ /* and buttons */
button.tabbutton:nth-child(1){ button.tabbutton:nth-child(1), button.tabbutton:nth-child(6){
background-color: white; background-color: white;
} }
.Patient, button.tabbutton:nth-child(2){ .Patient, button.tabbutton:nth-child(2), .button.tabbutton:nth-child(7), .skin{
background-color: var(--accen-secondary); background-color: var(--accen-secondary) !important;
} }
.Medical, button.tabbutton:nth-child(3){ .Medical, button.tabbutton:nth-child(3), .button.tabbutton:nth-child(8), .mucosa{
background-color: var(--accent-primary); background-color: var(--accent-primary);
} }
.Academia, .Research, button.tabbutton:nth-child(4){ .Academia, .Research, button.tabbutton:nth-child(4), button.tabbutton:nth-child(9){
background-color: var(--lightblue); background-color: var(--lightblue);
} }
.Industry, button.tabbutton:nth-child(5){ .Industry, button.tabbutton:nth-child(5){
background-color: var(--mediumpurple); background-color: var(--mediumpurple);
} }
.Activist, button.tabbutton:nth-child(6){ .Activist{
background-color: var(--igemlightgreen); background-color: var(--igemlightgreen);
} }
......
...@@ -6,7 +6,7 @@ export function HPPartnerships(){ ...@@ -6,7 +6,7 @@ export function HPPartnerships(){
<div className="col"> <div className="col">
<H4 text="CF Vests"></H4> <H4 text="CF Vests"></H4>
<p>CF Vests Worldwide is a dedicated charity organization committed to providing life-saving vest equipment to those in need, regardless of their financial situation. But they can't do it alone — they need your support. Help us make a difference! By donating to CFVWW, you can directly impact the lives of cystic fibrosis patients, giving them the chance to breathe easier and live fuller lives. Every contribution counts.</p> <p>CF Vests Worldwide is a dedicated charity organization committed to providing life-saving vest equipment to those in need, regardless of their financial situation. But they can't do it alone — they need your support. Help us make a difference! By donating to CFVWW, you can directly impact the lives of cystic fibrosis patients, giving them the chance to breathe easier and live fuller lives. Every contribution counts.</p>
<p><b>Join us in the fight against cystic fibrosis.</b> <a href="https://donorbox.org/igem" title=" Donate today" > Donate today </a> Donate today and help us bring hope, one vest at a time! Together, we can change lives.</p> <p><strong>Join us in the fight against cystic fibrosis.</strong> <a href="https://donorbox.org/igem"> Donate today</a> and help us bring hope, one vest at a time! Together, we can change lives.</p>
</div> </div>
) )
} }
\ No newline at end of file
...@@ -93,7 +93,7 @@ export function Description() { ...@@ -93,7 +93,7 @@ export function Description() {
<div className="col gif-wrapper"> <div className="col gif-wrapper">
<img className="fanzor gif" src="https://static.igem.wiki/teams/5247/fanzor/cftr-wt.gif"></img> <img className="fanzor gif" src="https://static.igem.wiki/teams/5247/fanzor/cftr-wt.gif"></img>
</div> </div>
<figcaption> <b>Figure 3.</b>Phase contrast image of HEK293T at 20x magnification</figcaption> <figcaption> <b>Figure x.</b></figcaption>
</figure> </figure>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment