diff --git a/code/cit.py b/code/cit.py index af2e74e2af7b4d6b18c0fb9215e3a124dc7e51c5..d6a3ceab9bdabcd84c881dc8fc2953b99d00a607 100644 --- a/code/cit.py +++ b/code/cit.py @@ -97,6 +97,7 @@ def main(): print("DONE") def makeauthors(authors, out): + print("Starting on authors...") authors = authors.replace("\n", " ").replace(" and ", "|").strip() # "and" durch "|" ersetzen und Whitespace entfernen autlist = authors.split("|") @@ -143,12 +144,10 @@ def articleHTML(dictio, x, out): print("Writing html code for article "+ str(x) + "...") 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("\t" + "<span property=\"schema:author\" typeof=\"schema:Person\">"+ "\n") - print("Just a sec, separating authors...") authors = dictio['author'] + print("giving authors...") makeauthors(authors, out) - # out.write("\t" +"</span>"+ "\n") title = dictio['title'].replace('{', '').replace('}', '') out.write("\t" + "<span property=\"schema:name\"> "+ title + "</span>. "+ "\n") @@ -163,6 +162,7 @@ def articleHTML(dictio, x, out): pag = re.split('--|-|–|–', pages) begin = pag[0].strip() end = pag[1].strip() + print("- in pages") out.write("\t" + ", <span property=\"schema:pageBegin\"> "+ begin +"</span>-<span property=\"schema:pageEnd\">"+ end + "</span> "+ "\n") else: if re.match(r'^\d+(-\d+)?$', pages): # Check for typical numeric page ranges @@ -192,6 +192,9 @@ def articleHTML(dictio, x, out): out.write("</li>" + "\n"+ "\n") + + + def miscHTML(dictio, x, out): print("Writing html code for entry "+ str(x) + "...") out.write("{/*<!-- Citation num " + str(x) + "--> */}" + "\n") diff --git a/src/App/App.css b/src/App/App.css index 4f78f6c4f9c7131cc9ae4c9ae68c18050773f5b3..54318e1b88edbd0f6e6db1a0114394421cbfb1e7 100644 --- a/src/App/App.css +++ b/src/App/App.css @@ -99,6 +99,10 @@ nav .scrolllink span{ width:16.66666667% !important; } +sup a{ + font-weight: bolder !important; + font-size: small !important; +} .col-1{ width: 8.33333333% !important; @@ -160,7 +164,7 @@ p { text-align: justify; } a { - color: var(--accent-gradient-one-of-three) !important; + color: var(--lightblue) !important; text-decoration: none !important; } .our-h3{ @@ -178,7 +182,7 @@ code{ } .doi{ - color: var(--text-primary) !important; + color: var(--lightblue) !important; } .codesnippet{ padding-left: 30px; @@ -454,7 +458,7 @@ margin-bottom: 10vw !important; } .h2{ text-align:center; - text-transform:uppercase; + /* text-transform:uppercase; */ color: var(--offblack) !important; font-size: 3rem !important ; letter-spacing: 1px; @@ -483,7 +487,7 @@ margin-bottom: 10vw !important; margin-bottom: 40px !important; text-align: center; font-size: 2.5rem !important ; - text-transform: uppercase; + /* text-transform: uppercase; */ padding-bottom: 5px; color: var(--offblack) !important; margin-top: 5vh !important; @@ -510,7 +514,7 @@ margin-bottom: 10vw !important; left: 50%; bottom: -65px; margin-left: -75px; - background-color: var(--text-primary); + background-color: inherit; } h2{ @@ -527,13 +531,16 @@ h2{ position: relative; } +.nocaps{ + text-transform: none !important; +} .h4:after, .h4:before { content: " "; display: block; border-bottom: 1px solid var(--mediumpurple); border-top: 1px solid var(--mediumpurple); height: 5px; - background-color:var(--background); + background-color: inherit; } .h4{ margin-top: 5px; @@ -543,7 +550,7 @@ h2{ word-spacing:1px; font-weight:normal; letter-spacing:2px; - text-transform: uppercase; + /* text-transform: uppercase; */ font-weight:500; display: grid; grid-template-columns: 1fr max-content 1fr; @@ -644,7 +651,7 @@ footer a { text-decoration: none; } footer a:hover { - color: var(--accent-gradient-three-of-three) !important; + color: var(--lightblue) !important; text-decoration: underline; } @@ -3871,7 +3878,7 @@ height: min-content !important; grid-gap: 20px; align-items: center; letter-spacing: 1px; - text-transform: uppercase; +/* text-transform: uppercase; */ align-self: center; } diff --git a/src/App/LandingPage.css b/src/App/LandingPage.css index 640fc296e6c9f60f1d4424f6fbe0a4d338c94d89..70a51484397f62f0bc52472ba5d5fc62238faf11 100644 --- a/src/App/LandingPage.css +++ b/src/App/LandingPage.css @@ -29,7 +29,7 @@ .landing-page-header button{ - background-color: var(--darkerbeige); + background-color: var(--accent-primary); border-radius: 10px; padding: 10px; width: 30vw; diff --git a/src/App/Timelines.css b/src/App/Timelines.css index a4b20704fbd4878abb6d05a977fda599805db591..9e1e340790c6edb3f7361b42cbdf2d2837fd55e1 100644 --- a/src/App/Timelines.css +++ b/src/App/Timelines.css @@ -159,26 +159,26 @@ button.tabbutton.Medical.active, .modulators.active, .inhalations.active{ background-color: var(--igemlightgreen); } /* and buttons */ -button.tabbutton:nth-child(1){ +button.tabbutton:nth-child(1), button.tabbutton:nth-child(6){ background-color: white; } -.Patient, button.tabbutton:nth-child(2){ - background-color: var(--accen-secondary); +.Patient, button.tabbutton:nth-child(2), .button.tabbutton:nth-child(7), .skin{ + 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); } -.Academia, .Research, button.tabbutton:nth-child(4){ +.Academia, .Research, button.tabbutton:nth-child(4), button.tabbutton:nth-child(9){ background-color: var(--lightblue); } .Industry, button.tabbutton:nth-child(5){ background-color: var(--mediumpurple); } -.Activist, button.tabbutton:nth-child(6){ +.Activist{ background-color: var(--igemlightgreen); } diff --git a/src/contents/Human Practices/Further Engagement/Partnerships.tsx b/src/contents/Human Practices/Further Engagement/Partnerships.tsx index f02628ab86801b33e78001a3bb2438ab28993c48..eebbd67333316d42cecd5622dc02baf51746c201 100644 --- a/src/contents/Human Practices/Further Engagement/Partnerships.tsx +++ b/src/contents/Human Practices/Further Engagement/Partnerships.tsx @@ -6,7 +6,7 @@ export function HPPartnerships(){ <div className="col"> <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><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> ) } \ No newline at end of file diff --git a/src/contents/description.tsx b/src/contents/description.tsx index 4233c408daad267befdad951983079262a1651df..bd0494f9533c97bb9ba148c0dd14ec4d9d80ea0e 100644 --- a/src/contents/description.tsx +++ b/src/contents/description.tsx @@ -93,7 +93,7 @@ export function Description() { <div className="col gif-wrapper"> <img className="fanzor gif" src="https://static.igem.wiki/teams/5247/fanzor/cftr-wt.gif"></img> </div> - <figcaption> <b>Figure 3.</b>Phase contrast image of HEK293T at 20x magnification</figcaption> + <figcaption> <b>Figure x.</b></figcaption> </figure> </div>