notion css

project type
tiny marketing
last updated
Dec 22, 2021 09:18 PM
description
the code to style this notion site
notion image
 
this website is built on notion using potion.so.
 
you can check out the guide to how i styled this site here:
 
<style>

 @import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inconsolata:wght@200;400;500&display=swap');


:root {
    --bg-color: #F9F8F5;
    --fg-color: #2E282A;
    --bg-color-0: none;
    --bg-color-1: none;
    
}

.notion {
    background-image: url(https://tinymarketing.b-cdn.net/gradient-blur-tm-01.svg);
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: top right;
}

.notion-header {
    background: transparent;
    position: sticky;

}

.notion-header .breadcrumb {
    font-weight: 100;
}

.notion-header .breadcrumb.active {
    cursor: crosshair;
}

.notion-text {
    font-weight: 100;
}

.notion-list {
    font-weight: 100;
}

.notion-page {
    width: 720px;
    
}

.notion-title {
    display: none;
}

.notion {
    font-size: 16px;

}

.notion-link {
    color: #E8476A;
    font-weight: 400;
}

.notion-link:hover {
     text-decoration: line-through;
     cursor: crosshair;
  }

.notion-page-link {
    color: #283F53;
    font-size: 1.1em;
    font-family: Inconsolata;
}

.notion-page-link:hover {
     text-decoration: line-through;
     cursor: crosshair;
  }

.notion-page-title-text {
    border-bottom: none;
    text-transform: uppercase;
    font-family: Inconsolata;
    font-size: 1.2em;
    font-weight: 200;
}


.index-page  .notion-h2 {
    color: #343a40;
    font-size: 4em;
    font-family: DM Mono;
    font-weight: 500;
    text-decoration: underline;
    border-bottom: none;
}

.notion-page-icon-wrapper {
    justify-content: left;
}
.notion-h {
    max-width: max-content;
}

.notion-h1 {
    color: #1C1F21;
    font-family: Inconsolata;
    font-weight: 200;
}
.notion-h2 {
    color: #343a40;
    font-size: 4em;
    font-family: DM Mono;
    font-weight: 500;
    border-bottom: 1px black solid;
}

.notion-h3 {
    color: #1C1F21;
    background: linear-gradient(to top, #F7F0E5 50%, transparent 50%);
    font-family: Inconsolata;
    font-size: 1.5em;
    font-weight: 400;
    border-bottom: 1px black solid;
    
}

.notion-red,
.notion-red_co {
    color: #1C1F21;
    font-family: Inconsolata;
    font-weight: 400;
    background: linear-gradient(to top, #FAF2F0 50%, transparent 50%);
}

.notion-blue,
.notion-blue_co {
    color: #343a40;
    font-size: .7em;
}

.notion-pink,
.notion-pink_co {
    color: #343a40;
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.notion-yellow,
.notion-yellow_co {
    color: #FF7E47;
    font-size: .8em;
    text-transform: uppercase;
}

.notion-orange,
.notion-orange_co {
    color: #343a40;
    font-size: 1em;
    text-transform: uppercase;
}

.notion-brown,
.notion-brown_co {
    color: #343a40;
    font-size: .6em;
    text-transform: uppercase;
}

.notion-gray,
.notion-gray_co {
    color: #343a40;
    font-size: .6em;
    text-transform: uppercase;
}

.notion-teal,
.notion-teal_co {
    color: #343a40;
    font-size: .8em;
    text-transform: uppercase;
}

.notion-quote {
    font-size: 1em;
    border-left: 1px solid;
    border-left-color: #72788D;
    font-weight: 100;
}

.notion-link {
    border-bottom-color: white;
    border-bottom: 0em;
}

.notion-purple_background_co {
    background-color: white;
}

.notion-hr {
    border-color: #72788D;

}
.notion-block-297ff72e1a114866b1f4975441b26366 {
    font-size: 1.2em;
    border-left: 2px solid #DDA1A3;
    font-style: italic;
}

figure.notion-asset-wrapper.notion-asset-wrapper-embed.notion-block-dfd901e1ec1f407eadf1a99a9d793937 {
    flex-direction: row !important;

}

figure.notion-asset-wrapper.notion-asset-wrapper-image.notion-block-0e81ec1016a14a9d909302e8e8d54571 {
    display: none !important; 
}

figure.notion-asset-wrapper.notion-asset-wrapper-image.notion-block-0a1c175428864c42bce4d68805d36e66 {
    display: none !important; 
}

figure.notion-asset-wrapper.notion-asset-wrapper-image.notion-block-87522179874b405c8efc6903e38bdc55 {
    display: none !important; 
}

.notion-asset-wrapper iframe {
    background: transparent;

}

.notion-collection-row-property .notion-property {
    font-weight: 100;
    
}

.notion-collection-column-title-body {
    font-weight: 100;
    
}

.notion-collection-header-title {
    font-weight: 100;

}

.notion-collection-card-property .notion-page-title-icon {
    display: none !important; 
    
}

.notion-collection-card {
    cursor: crosshair;
    background: var(--bg-color-0);
    border: 1px solid black;
    box-shadow: none;
    
}    

.notion-gallery-grid {
    border-top: 1px solid black;

}

.notion-code {
    background: transparent !important;
    
}

.notion-callout {
    border-radius: 3px !important;
    border: 1px solid black;
    background-image: linear-gradient(267deg, rgba(232,71,106,0.38697485830269607) 0%, rgba(247,240,229,1) 100%);
    color: black !important;
    font-family: Inconsolata;
    font-size: 18px;
    padding: 4px !important;
    width: 55% !important;
}
.notion-callout .notion-link {
    opacity: 1 !important;
    border: none;
    color: black !important;
}
.notion-callout:hover {
  background-color: #E8476A !important;
}

.notion-callout .notion-page-icon {
    display: none !important;
}



</style>