ac

[ASAP] Discovery of a Cyclic Choline Analog That Inhibits Anaerobic Choline Metabolism by Human Gut Bacteria

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00005




ac

[ASAP] Discovery of Selective, Covalent FGFR4 Inhibitors with Antitumor Activity in Models of Hepatocellular Carcinoma

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00601




ac

[ASAP] Chimeric Peptidomimetics of SOCS 3 Able to Interact with JAK2 as Anti-inflammatory Compounds

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00664




ac

[ASAP] Cancer Immunotherapy through the Inhibition of Diacylglycerol Kinases Alpha and Zeta

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00118




ac

[ASAP] Inhibitors of Hypoxia-Inducible Factors as Treatment for Cancer

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00116




ac

[ASAP] Synthesis of Novel G Factor or Chloroquine-Artemisinin Hybrids and Conjugates with Potent Antiplasmodial Activity

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00669




ac

[ASAP] Novel HIV-1 Protease Inhibitors with Morpholine as the P2 Ligand to Enhance Activity against DRV-Resistant Variants

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00043




ac

[ASAP] Design, Synthesis, and Pharmacological Evaluation of Second Generation EZH2 Inhibitors with Long Residence Time

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00045




ac

[ASAP] Escaping from Flatland: Substituted Bridged Pyrrolidine Fragments with Inherent Three-Dimensional Character

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00039




ac

[ASAP] Characterization of an Alginate Encapsulated LS180 Spheroid Model for Anti-colorectal Cancer Compound Screening

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00076




ac

[ASAP] Rationally Designed Covalent BCL6 Inhibitor That Targets a Tyrosine Residue in the Homodimer Interface

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00111




ac

[ASAP] Assembling Pharma Resources to Tackle Diseases of Underserved Populations

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00051




ac

[ASAP] Pharmacophore-Based Virtual Screening for Identification of Negative Modulators of GLI1 as Potential Anticancer Agents

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00639




ac

[ASAP] Combined Peptide and Small-Molecule Approach toward Nonacidic THIQ Inhibitors of the KEAP1/NRF2 Interaction

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00594




ac

[ASAP] New Dual CK2/HDAC1 Inhibitors with Nanomolar Inhibitory Activity against Both Enzymes

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00561




ac

[ASAP] Novel Dithiolane-Based Ligands Combining Sigma and NMDA Receptor Interactions as Potential Neuroprotective Agents

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00129




ac

[ASAP] Selective Covalent Targeting of Mutated EGFR(T790M) with Chlorofluoroacetamide-Pyrimidines

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00574




ac

[ASAP] Design and Synthesis of Tetrazole- and Pyridine-Containing Itraconazole Analogs as Potent Angiogenesis Inhibitors

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.9b00438




ac

[ASAP] Artemisinin Derivatives with Antimelanoma Activity Show Inhibitory Effect against Human DNA Topoisomerase 1

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00131




ac

[ASAP] Characterization of Specific <italic toggle="yes">N</italic>-a-Acetyltransferase 50 (Naa50) Inhibitors Identified Using a DNA Encoded Library

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00029




ac

[ASAP] Discovery of CPI-1612: A Potent, Selective, and Orally Bioavailable EP300/CBP Histone Acetyltransferase Inhibitor

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00155




ac

[ASAP] PROTAC Compounds Targeting a-Synuclein Protein for Treating Neurogenerative Disorders: Alzheimer’s and Parkinson’s Diseases

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00192




ac

[ASAP] Ultra-High-Throughput Acoustic Droplet Ejection-Open Port Interface-Mass Spectrometry for Parallel Medicinal Chemistry

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00066




ac

[ASAP] Benzoxazepine-Derived Selective, Orally Bioavailable Inhibitor of Human Acidic Mammalian Chitinase

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00092




ac

[ASAP] De-risking Drug Discovery of Intracellular Targeting Peptides: Screening Strategies to Eliminate False-Positive Hits

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00022




ac

[ASAP] Synthesis and Evaluation of <sup>11</sup>C- and <sup>18</sup>F-Labeled SOAT1 Inhibitors as Macrophage Foam Cell Imaging Agents

ACS Medicinal Chemistry Letters
DOI: 10.1021/acsmedchemlett.0c00127




ac

Germany Facing Mass Blackouts Because The Wind And Solar Won’t Cooperate

Germany’s energy network nearly broken down in January because of poor execution from wind turbines and sun based boards, as indicated by information from a noteworthy exchange union. Wind and sunlight based power plants failed to meet expectations in January, 2017, as a result of shady climate with almost no wind, setting the phase for …

The post Germany Facing Mass Blackouts Because The Wind And Solar Won’t Cooperate appeared first on LatestSolarNews.




ac

China’s New Large Solar-Powered Drone Reaches 20,000 Meters in Altitude

China’s first domestically designed large solar-powered unmanned plane reached above 20,000 meters in altitude on its test flight in the country’s northwest regions recently. The drone was developed by the China Academy of Aerospace Aerodynamics (CAAA), it’s developers kept the exact size of the drone as a secret, but it is believed to be about 14 …

The post China’s New Large Solar-Powered Drone Reaches 20,000 Meters in Altitude appeared first on LatestSolarNews.




ac

India is planning to achieve 50 GW of prodction from renewbale energy by 2028

India is planning to achieve 50 gigawatt (GW) of production from renewable energy by 2028, in order to get to its goal of 40 per cent of electricity generation from non-fossil fuels by 2030, Ministry of New and Renewable Energy secretary, Anand Kumar said at the India-Norway Business Summit 2019 in New Delhi. Of this …

The post India is planning to achieve 50 GW of prodction from renewbale energy by 2028 appeared first on LatestSolarNews.




ac

Spacing elements

So let’s say we have a “bar” with some items inside. Like a header or footer. Let’s also say we want those items to be spaced evenly, meaning they have the same gap everywhere. Shouldn’t be a big problem. Let’s take a look:

1. Margin

We can’t just add margin: 2rem to the elements since there is no margin collapsing on the horizontal axis. And it also doesn’t work when using Flexbox. Leaving a double sized gap in between. Wishing there is something like margin: 2rem collapse; where you can enable/disable it optionally.

See the Pen Spacing elements (no collapsing) by simurai (@simurai) on CodePen.

2. Pseudo classes

Using margin: 2rem 0 2rem 2rem and then a pseudo class like :last-child { margin-right: 2rem } to add the extra margin works as long as you don’t need to hide that element with display: none. Maybe a rare case, but I’ve been running into this issue once in a while. Would be cool if there is something like :last-displayed that would ignore elements that have display:none.

See the Pen Spacing elements (pseudo) by simurai (@simurai) on CodePen.

3. Margin + padding (best)

The easiest way I think, is to add margins to all elements (like in the first example), but then also add the same value as padding to the parent element. Like this:

.Header {
  padding: 1rem;
}
.Header-item {
  margin: 1rem;
}

That way all elements are evenly spaced and you still can use display:none without having to worry about breaking it. A little flaw is that you have to keep the 2 values in sync, but if you’re using a preprocessor, it can just be a single variable. Or maybe you could use REM’s to control it with font-size from the :root.

See the Pen Spacing elements by simurai (@simurai) on CodePen.

Other?

There are more ways but I’m not aware of a simple one that also let’s you use display: none. Let me know otherwise.

Update

A couple more options:

Hmmm.. gotta try some. I kinda like the 3rd one. Keeps it independent from the parent and is not “too” complicated.




ac

Back to the :roots

The cascade in CSS is a curse and blessing at the same time. It usually works quite well, but there are issues that let people get all worked up and ask the question Do We Even Need CSS Anymore. I can somewhat relate to that - but I also think it’s not the cascade alone and also about fighting specificity. Not running into issues with specificity is hard. Almost as hard as pronouncing that word.

In this post I’ll try to show a few ways how you can make the cascade be your friend and maybe reduce the need of overriding and thus encounter less fighting with specificity.

Tip 1:

For every CSS property that you write, try to move it up the tree as far as possible. In other words: Back to the :root.

For example, our site has a side bar and we want to add a short bio to it. The markup might look something like this:

<body>
	<main class=“Posts”>
	<aside class=“SideBar”>
		<nav class=“Nav”>
		<p class=“Bio”>

And the CSS:

.Bio {
	font-size: .8em;
	line-height: 1.5;
	color: #888;
}

That would work. But if we look at the Nav that is already in the SideBar, chances are good that some of the styles are the same. In our case it’s font-size and color. So let’s remove those properties from Nav and Bio and add it to the shared parent element, the SideBar.

.SideBar {
	font-size: .8em;
	color: #888;
}

And as it turns out, that line-height: 1.5; is already defined for our Posts. So since it seems that the whole page uses the same line-height, let’s remove it from the Bio and Post elements and move it all up to the root node.

:root {
	line-height: 1.5;
}

This probably sounds like common sense, but often it’s tempting to just style your new thing without even looking if some of the sibling elements define the same thing. This also happens when you copy&paste styles from another section or when pasting some snippets you found online. It might take a bit more time to refactor and seems scary, but it should keep our CSS in a healthier state.

Style the branches, not each leaf


Tip 2:

Style certain properties always as a combo.

A good example is the color and background-color combo. Unless you make only small tweaks, it’s probably a good idea to always change them together. When adding a background color to an element, it might not contain any text, but probably some child will. Therefore if we set foreground and background color together, we can always be sure we won’t run into any legibility and contrast issues. Also, next time we change a background color, we don’t have to hunt for all the text colors that need to be changed too, it’s right there in the same place.

Screenshot from Colorable


Tip 3:

Use “dynamic” values, such as currentColor and ems.

Sometimes it might make sense to use the text color for other properties. Like for border, box-shadow or for the fill of SVG icons. Instead of defining them directly you can use currentColor and it will be the same the color property. And since color inherits by default, you might can change it in only one place.

Similarly ems are mapped to font-size allowing you to scale everything by just changing the :root font size.

Here a few more details on currentColor and EMs.


Tip 4:

Override UA Styles to inherit from its parents.

Form controls like buttons, inputs get styled by the browser in a certain way. Overriding them with inherit makes them adapt to your own styles.

button,
input,
select,
textarea {
	color: inherit;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
}

The example above is taken from sanitize.css. normalize.css does the same, so if you use them, you’re already covered.

You can also try to restyle other inputs like a range slider, radio, checkbox etc. And as seen above, by using currentColor, make them automatically match the color property. And maybe move them from a light into a dark theme without changing anything.

Conclusion

That’s all nice stuff, but who is it for? Well, of course it can’t be forced upon every situation. I would say small and simple web sites benefit the most. But even when using a preprocessor, it might not hurt if it reduces the amount of CSS that gets output or when a few variables aren’t even needed.

Also it seems suited for the “single purpose class” approach like Tachyons. It might reduce complexity and the amount of classes that are needed.

Another interesting thing could be the upcoming custom properties a.k.a. CSS variables. Unlike variables in preprocessors, when overriding a custom property, it will only affect the current selector scope. So in a sense they will be “cascading variables”. But I still have to try that out and see how it works in practice.

ps. It is possible that this post is inspired by this tweet.




ac

Unlock Your Team’s Potential With Teamstack

Teamstack is a password manager for your whole team. Running in the cloud it allows you to manage your tools and resources, and seamlessly scale your teams’ access, from a single, easy-to-use control panel. Teamstack is powerful, and secure with multi-factor authentication, single sign-in, SAML and form-based authentication. It works with desktop and mobile apps, […]




ac

Thanks to Covid-19, Website Accessibility Has Never Been More Important

The first global pandemic of the digital era is upon us. We’re living in unprecedented and uncomfortable times. For our senior citizens, these past several weeks have been particularly discomforting. According to the CDC, men and women over the age of 65 are significantly more likely to develop complications from COVID-19. As we seek to […]




ac

The matter of photography in the Americas / Natalia Brizuela and Jodi Roberts ; with contributions by Lisa Blackmore, Amy Sara Carroll, Marianela D'Aprile, María Fernanda Domínguez, Heloisa Espada, Rachel Price, Diana Ruiz, Tatiane Santa Ro

Rotch Library - TR184.B75 2018




ac

Huguette Caland / edited by Anne Barlow, Sara Matson and Giles Jackson ; texts by Anne Barlow, Brigitte Caland and Negar Azimi

Rotch Library - N6537.C329 A4 2019




ac

Legacy of the masters: painting and calligraphy of the Islamic world from the Shavleyan family collection / Will Kwiatkowski ; with contributions by John Seyller

Rotch Library - N6260.K87 2019




ac

Art for people's sake: artists and community in Black Chicago, 1965-1975 / Rebecca Zorach

Rotch Library - NX512.3.A35 Z67 2019




ac

Failed images: photography and its counter-practices / Ernst van Alphen

Rotch Library - TR183.A47 2018




ac

On desire: BIII / Herausgeber, Bernd Kracke, Marc Ries

Rotch Library - N6498.V53 B15 2018




ac

Land, sand, strand: activation manual / drawings by Suki Seokyeong Kang

Rotch Library - N6488.I8 V433 2019 K6




ac

Neuer Norden Zürich: ein Kunstprojekt im öffentlichen Raum, 9. Juni-2. September 2018 = New north Zurich: a public art project, 9th of June-2nd of September 2018 / herausgegeben von Christoph Doswald ; fotografiert von Pierluigi Macor ; Übe

Rotch Library - N6496.3.S9 Z876 2018




ac

Design by accident: for a new history of design / Alexandra Midal

Rotch Library - NK1175.M53 2019




ac

Moon shine / Rachel Boillot

Rotch Library - TR647.B626 2019




ac

The stronger we become: the South African pavilion / Dineo Seshee Bopape, Tracey Rose, Mawande Ka Zenzile ; curated by Nkule Mabaso, Nomusa Makhubu

Rotch Library - N6488.I8 V433 2019 S6




ac

Saules: Suns / artist = māksliniece, Daiga Grantin̦a ; curators = kuratori, Valentinas Klimašauskas, Inga Lāce

Rotch Library - N6488.I8 V433 2019 L35




ac

Padiglione Indonesiano all Biennale di Venezia 2019 / team artistico, Syagini Ratna Wulan, Handiwirman Saputra, artisti ; Asmudjo J. Irianto, Yacobus Ari Respati, curatore

Rotch Library - N6488.I8 V433 2019 I5




ac

Socially engaged art and the neoliberal city / Cecilie Sachs Olsen

Rotch Library - N72.A76 O47 2019




ac

Pretense design: surface over substance / Per Mollerup

Rotch Library - NK1520.M65 2019




ac

Khnum, across times witness: Egyptian pavilion

Rotch Library - N6488.I8 V433 2019 E3




ac

The moon: from inner worlds to outer space / edited by Lærke Rydal Jørgensen and Marie Laurberg ; translations, Glen Garner, James Manley, Jane Rowley

Barker Library - NX650.M6 M663 2018