-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db84ad1
commit f88fec7
Showing
7 changed files
with
753 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
apps/fantalytic-public/src/app/topics/topics.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 4 additions & 52 deletions
56
apps/fantalytic-public/src/app/topics/topics.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,6 @@ | ||
@media screen and (max-width: 800px) { | ||
.topics-container { | ||
h3 { | ||
margin: .5rem; | ||
text-align: justify; | ||
} | ||
mat-card-actions { | ||
a { | ||
position: absolute; | ||
bottom: 0; | ||
} | ||
.topics-card-container { | ||
grid-template-columns: 1fr; | ||
} | ||
|
||
} | ||
|
||
@media screen and (min-width: 801px) { | ||
.topics-container h3 { | ||
margin: 2rem; | ||
} | ||
.topics-card-container { | ||
grid-template-columns: repeat(3, 1fr); | ||
} | ||
} | ||
|
||
.topics-container { | ||
width: 100vw; | ||
select { | ||
height: 2rem; | ||
width: 15rem; | ||
font-size: 1rem; | ||
color: rgb(3,41,42); | ||
} | ||
.topics-text-container { | ||
display: flex; | ||
align-items: center; | ||
|
||
} | ||
.topics-card-container { | ||
display: grid; | ||
row-gap: 2rem; | ||
column-gap: 2rem; | ||
margin: 0 2rem; | ||
|
||
} | ||
|
||
.mat-card { | ||
.mat-card-actions { | ||
a { | ||
position: absolute; | ||
bottom: 0; | ||
} | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,47 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
/* You can add global styles to this file, and also import other style files */ | ||
@import url('./styles/dark-theme.scss'); | ||
@import url('./styles/light-theme.scss'); | ||
@import '~ag-grid-community/styles/ag-grid.css'; | ||
@import '~ag-grid-community/styles/ag-theme-alpine.css'; | ||
|
||
html, | ||
body { | ||
height: 100%; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: Roboto, 'Helvetica Neue', sans-serif; | ||
} | ||
|
||
html, body { height: 100%; } | ||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } | ||
|
||
div, span, p, h3, section, main { | ||
background-color: var(--background-color); | ||
color: var(--font-color); | ||
div, | ||
span, | ||
p, | ||
h3, | ||
section, | ||
main { | ||
background-color: var(--background-color); | ||
color: var(--font-color); | ||
} | ||
|
||
h1 { | ||
font-size: 2.5rem; | ||
font-weight: 500; | ||
font-size: 2.5rem; | ||
font-weight: 500; | ||
} | ||
|
||
h2 { | ||
font-size: 2rem; | ||
font-weight: 400; | ||
font-size: 2rem; | ||
font-weight: 400; | ||
} | ||
|
||
h3 { | ||
font-size: 1.5rem; | ||
font-weight: 200; | ||
font-size: 1.5rem; | ||
font-weight: 200; | ||
} | ||
|
||
.mat-button-wrapper { | ||
color: unset; | ||
} | ||
color: unset; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind'); | ||
const { join } = require('path'); | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: [ | ||
join(__dirname, 'src/**/!(*.stories|*.spec).{ts,html}'), | ||
...createGlobPatternsForDependencies(__dirname), | ||
], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
}; |
Oops, something went wrong.