working on getting ori.md files working
This commit is contained in:
@@ -1,46 +1,57 @@
|
||||
:root {
|
||||
/* COLORS */
|
||||
--rich-black: #030303; /*for body background colour*/
|
||||
--eerie-black: #171717; /* for article background colour*/
|
||||
--charleston-green: #2c2c2c; /*for article background rollover*/
|
||||
--dark-medium-gray: #aaa; /* for main body text throughout website*/
|
||||
--platinum: #e9e9e9; /* for titles*/
|
||||
--middle-green: #52aa5e; /* for the main heading and links*/
|
||||
--turquoise-green: #a0d0a7; /* for links in their hover state*/
|
||||
--amaranth: #ef2d56; /* just for the support heart in its hoverstate */
|
||||
--rich-black: #030303;
|
||||
/*for body background colour*/
|
||||
--eerie-black: #171717;
|
||||
/* for article background colour*/
|
||||
--charleston-green: #2c2c2c;
|
||||
/*for article background rollover*/
|
||||
--dark-medium-gray: #aaa;
|
||||
/* for main body text throughout website*/
|
||||
--platinum: #e9e9e9;
|
||||
/* for titles*/
|
||||
--middle-green: #52aa5e;
|
||||
/* for the main heading and links*/
|
||||
--turquoise-green: #a0d0a7;
|
||||
/* for links in their hover state*/
|
||||
--amaranth: #ef2d56;
|
||||
/* just for the support heart in its hoverstate */
|
||||
|
||||
/* THEME */
|
||||
/* COLOURS */
|
||||
/* COLOURS */
|
||||
--page-title-color: var(--middle-green);
|
||||
--link-color: var(--middle-green);
|
||||
--link-hover-color: var(--turquise-green)
|
||||
--body-background-color: var(--rich-black);
|
||||
--link-hover-color: var(--turquise-green) --body-background-color: var(--rich-black);
|
||||
--article-background-color: var(--eerie-black);
|
||||
--text-color: var(--dark-medium-gray);
|
||||
--nav-link-color: var(--text-color);
|
||||
--nav-link-color-hover: var(--platinum);
|
||||
/* FONT SIZES */
|
||||
/* FONT SIZES */
|
||||
--font-size: 1.7rem;
|
||||
--page-title-font-size: 3.6rem;
|
||||
--card-background-hover: var(--charleston-green)
|
||||
--card-background-hover: var(--charleston-green);
|
||||
/* PADDING */
|
||||
--article-padding: 3rem;
|
||||
/* OTHER */
|
||||
--border-radius: 1rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
html {
|
||||
font-size: 10px;
|
||||
height: 100%;
|
||||
font-size: 10px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -82,15 +93,26 @@ body {
|
||||
}
|
||||
|
||||
.page-content {
|
||||
padding: 2rem;
|
||||
flex-grow:1;
|
||||
padding: 2rem;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
.page-content h2 {
|
||||
font-size: 2.4rem;
|
||||
font-weight: 300;
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
flex-shrink: 0;
|
||||
flex-grow:0;
|
||||
flex-grow: 0;
|
||||
width: 100%;
|
||||
text-align:center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-navigation ul {
|
||||
@@ -99,41 +121,68 @@ body {
|
||||
list-style: none;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
.site-navigation a{
|
||||
|
||||
.site-navigation a {
|
||||
text-decoration: none;
|
||||
color: var(--nav-link-color);
|
||||
}
|
||||
.site-navigation a:hover{
|
||||
|
||||
.site-navigation a:hover {
|
||||
text-decoration: none;
|
||||
color: var(--nav-link-color-hover);
|
||||
}
|
||||
|
||||
.main {
|
||||
width:100%;
|
||||
text-align:center;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.view-cards {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
align-items: center;
|
||||
gap:3rem;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.view-card {
|
||||
background: var(--article-background-color);
|
||||
padding: 3rem; /*replace this with a variable */
|
||||
border-radius: 1rem;
|
||||
padding: 3rem;
|
||||
/*replace this with a variable */
|
||||
border-radius: var(--border-radius);
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
font-size: 3rem;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
width: 700px;
|
||||
width: 70rem;
|
||||
}
|
||||
|
||||
.view-card:hover {
|
||||
color: var(--link-color-hover);
|
||||
background-color: var(--card-background-hover)
|
||||
background-color: var(--card-background-hover);
|
||||
}
|
||||
|
||||
|
||||
.article {
|
||||
background-color: var(--article-background-color);
|
||||
padding: var(--article-padding);
|
||||
border-radius: var(--border-radius);
|
||||
width: 90rem;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.article-header {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
font-weight: 300;
|
||||
font-size: 2.4rem;
|
||||
color: var(--page-title-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user