Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cookiecutter-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
m-team
ai
cookiecutter-web
Commits
41a41d89
Commit
41a41d89
authored
4 months ago
by
Christophe
Browse files
Options
Downloads
Patches
Plain Diff
fix: link color
parent
81ec962a
No related branches found
No related tags found
1 merge request
!14
fix(frontend): improve error legibility and reporting
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
frontend/components/Layout.tsx
+1
-1
1 addition, 1 deletion
frontend/components/Layout.tsx
frontend/pages/_app.tsx
+1
-1
1 addition, 1 deletion
frontend/pages/_app.tsx
frontend/styles/style.scss
+32
-66
32 additions, 66 deletions
frontend/styles/style.scss
with
34 additions
and
68 deletions
frontend/components/Layout.tsx
+
1
−
1
View file @
41a41d89
...
@@ -8,7 +8,7 @@ type LayoutProps = {
...
@@ -8,7 +8,7 @@ type LayoutProps = {
const
Layout
:
FC
<
PropsWithChildren
<
LayoutProps
>>
=
({
children
,
className
})
=>
(
const
Layout
:
FC
<
PropsWithChildren
<
LayoutProps
>>
=
({
children
,
className
})
=>
(
<
div
className
=
"flex min-h-screen flex-col"
>
<
div
className
=
"flex min-h-screen flex-col"
>
<
Navbar
/>
<
Navbar
/>
<
div
className
=
"bg-white"
>
<
div
className
=
"
grow
bg-white"
>
<
div
className
=
"container mx-auto grow"
>
<
div
className
=
"container mx-auto grow"
>
<
main
className
=
{
className
}
>
{
children
}
</
main
>
<
main
className
=
{
className
}
>
{
children
}
</
main
>
</
div
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
frontend/pages/_app.tsx
+
1
−
1
View file @
41a41d89
import
'
normalize.css/normalize.css
'
;
import
'
normalize.css/normalize.css
'
;
import
'
styles/style.scss
'
;
import
'
styles/tailwind.css
'
;
import
'
styles/tailwind.css
'
;
import
'
styles/style.scss
'
;
import
type
{
AppProps
}
from
'
next/app
'
;
import
type
{
AppProps
}
from
'
next/app
'
;
import
{
type
FC
,
type
PropsWithChildren
}
from
'
react
'
;
import
{
type
FC
,
type
PropsWithChildren
}
from
'
react
'
;
...
...
This diff is collapsed.
Click to expand it.
frontend/styles/style.scss
+
32
−
66
View file @
41a41d89
...
@@ -13,6 +13,23 @@ code {
...
@@ -13,6 +13,23 @@ code {
font-size
:
0
.7em
;
font-size
:
0
.7em
;
}
}
a
{
scroll-margin-top
:
$navbar-height
+
1rem
;
text-decoration
:
underline
;
color
:
theme
(
"colors.blue.600"
);
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
.h1
,
.h2
,
.h3
,
.h4
,
.h5
,
.h6
{
margin-bottom
:
.5rem
;
}
h1
,
.h1
{
font-size
:
2rem
;
}
h2
,
.h2
{
font-size
:
1
.33rem
;
}
.section
{
.section
{
padding-top
:
100px
;
padding-top
:
100px
;
}
}
...
@@ -65,16 +82,6 @@ code {
...
@@ -65,16 +82,6 @@ code {
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.deep-picture
{
position
:
relative
;
width
:
80%
;
}
.entry-title
{
width
:
100%
;
font-size
:
2em
;
}
/* Navbar */
/* Navbar */
.navbar
{
.navbar
{
display
:
block
;
display
:
block
;
...
@@ -115,33 +122,6 @@ code {
...
@@ -115,33 +122,6 @@ code {
.navbar-link.active
{
.navbar-link.active
{
color
:
#33C3F0
;
color
:
#33C3F0
;
}
}
.has-docked-nav
.navbar
{
position
:
fixed
;
top
:
0
;
left
:
0
;
}
.has-docked-nav
.navbar-spacer
{
display
:
block
;
}
/* Re-overiding the width 100% declaration to match size of % based container */
.has-docked-nav
.navbar
>
.container
{
width
:
80%
;
}
/* Images */
main
{
margin-block
:
1
.5rem
;
border-radius
:
0
.5rem
;
padding
:
$container-padding
;
}
input
,
select
,
textarea
{
width
:
100%
;
}
.button
,
button
{
background-color
:
white
;
}
.navbar-button
{
.navbar-button
{
font-family
:
Arial
,
serif
;
font-family
:
Arial
,
serif
;
...
@@ -160,6 +140,21 @@ input, select, textarea {
...
@@ -160,6 +140,21 @@ input, select, textarea {
color
:
#0FA0CE
;
color
:
#0FA0CE
;
}
}
/* Images */
main
{
margin-block
:
1
.5rem
;
border-radius
:
0
.5rem
;
padding
:
$container-padding
;
}
input
,
select
,
textarea
{
width
:
100%
;
}
.button
,
button
{
background-color
:
white
;
}
.modal
{
.modal
{
border
:
0
;
border
:
0
;
box-shadow
:
0
0
1em
black
;
box-shadow
:
0
0
1em
black
;
...
@@ -183,16 +178,6 @@ input, select, textarea {
...
@@ -183,16 +178,6 @@ input, select, textarea {
color
:
#000000
;
color
:
#000000
;
}
}
.flex
{
display
:
flex
;
}
.justify-end
{
justify-content
:
flex-end
;
}
.flex-gap
{
gap
:
1rem
;
}
.border-warning
{
.border-warning
{
border
:
1px
solid
rgb
(
100%
80%
20%
)
!
important
;
border
:
1px
solid
rgb
(
100%
80%
20%
)
!
important
;
background-color
:
rgb
(
255
242
204
)
!
important
;
background-color
:
rgb
(
255
242
204
)
!
important
;
...
@@ -235,10 +220,6 @@ button:disabled, .button:disabled, .button-primary:disabled {
...
@@ -235,10 +220,6 @@ button:disabled, .button:disabled, .button-primary:disabled {
width
:
auto
;
width
:
auto
;
}
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
.h1
,
.h2
,
.h3
,
.h4
,
.h5
,
.h6
{
margin-bottom
:
.5rem
;
}
hr
{
hr
{
border-top
:
1px
solid
#888
;
border-top
:
1px
solid
#888
;
}
}
...
@@ -247,19 +228,4 @@ hr {
...
@@ -247,19 +228,4 @@ hr {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
a
{
scroll-margin-top
:
$navbar-height
+
1rem
;
text-decoration
:
underline
;
color
:
theme
(
"colors.blue.600"
);
}
h1
,
.h1
{
font-size
:
2rem
;
}
h2
,
.h2
{
font-size
:
1
.33rem
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment