GithubHelp home page GithubHelp logo

ethanmadeit's People

Contributors

dependabot[bot] avatar ethanshutt avatar

ethanmadeit's Issues

Work on finding a better way to assign text styles

h1,
h2,
h3,
h4,
h5 {
font-weight: normal;
margin: 0;
}
h1,
.h1 {
font-size: var(--text-size-6);
}
h2,
.h2 {
font-size: var(--text-size-5);
}
h3,
.h3 {
font-size: var(--text-size-4);
}
h4,
.h4 {
font-size: var(--text-size-3);
}
h5,
.h5 {
font-size: var(--text-size-2);
}
p {
font-family: var(--font-serif);
font-size: var(--text-size-2);
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
margin-top: var(--spacing-sm);
}
.content p+p {
margin: 0 0 var(--spacing-sm) 0;
}
@media (min-width: 600px) {
h1,
.h1 {
font-size: var(--text-size-7);
}
h2,
.h2 {
font-size: var(--text-size-6);
}
h3,
.h3 {
font-size: var(--text-size-5);
}
h4,
.h4 {
font-size: var(--text-size-4);
}
h5,
.h5 {
font-size: var(--text-size-3);
}
p,
ul li {
font-size: var(--text-size-3);
}
}
@media (min-width: 800px) {
h1,
.h1 {
font-size: var(--text-size-8);
}
h2,
.h2 {
font-size: var(--text-size-7);
}
h3,
.h3 {
font-size: var(--text-size-6);
}
h4,
.h4 {
font-size: var(--text-size-5);
}
h5,
.h5 {
font-size: var(--text-size-4);
}
p,
ul li {
font-size: var(--text-size-4);
}
}

Maybe try referencing Dan Mall's article

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.