Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring CSS files: merged PageNotFound styles into global app.module.css #2539

Open
wants to merge 4 commits into
base: develop-postgres
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 0 additions & 109 deletions src/screens/PageNotFound/PageNotFound.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/screens/PageNotFound/PageNotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import useLocalStorage from 'utils/useLocalstorage';

import styles from './PageNotFound.module.css';
import styles from '../../style/app.module.css';
import Logo from 'assets/images/talawa-logo-600x600.png';

/**
Expand Down
116 changes: 116 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,122 @@ hr {
display: none;
}

.pageNotFound {
position: relative;
bottom: 20px;
}
mandeepnh5 marked this conversation as resolved.
Show resolved Hide resolved

.pageNotFound h3 {
font-family: 'Roboto', sans-serif;
font-weight: normal;
letter-spacing: 1px;
}

.pageNotFound .brand span {
margin-top: 50px;
font-size: 40px;
}

.pageNotFound .brand h3 {
font-weight: 300;
margin: 10px 0 0 0;
}

.pageNotFound h1.head {
font-size: 250px;
font-weight: 900;
color: #31bb6b;
letter-spacing: 25px;
margin: 10px 0 0 0;
}

.pageNotFound h1.head span {
position: relative;
display: inline-block;
}

.pageNotFound h1.head span:before,
.pageNotFound h1.head span:after {
position: absolute;
top: 50%;
width: 50%;
height: 1px;
background: #fff;
content: '';
}

.pageNotFound h1.head span:before {
left: -55%;
}

.pageNotFound h1.head span:after {
right: -55%;
}

@media (max-width: 1024px) {
.pageNotFound h1.head {
font-size: 200px;
letter-spacing: 25px;
}
}

@media (max-width: 768px) {
.pageNotFound h1.head {
font-size: 150px;
letter-spacing: 25px;
}
}

@media (max-width: 640px) {
.pageNotFound h1.head {
font-size: 150px;
letter-spacing: 0;
}
}

@media (max-width: 480px) {
.pageNotFound .brand h3 {
font-size: 20px;
}
.pageNotFound h1.head {
font-size: 130px;
letter-spacing: 0;
}
.pageNotFound h1.head span:before,
.pageNotFound h1.head span:after {
width: 40%;
}
.pageNotFound h1.head span:before {
left: -45%;
}
.pageNotFound h1.head span:after {
right: -45%;
}
.pageNotFound p {
font-size: 18px;
}
}

@media (max-width: 320px) {
.pageNotFound .brand h3 {
font-size: 16px;
}
.pageNotFound h1.head {
font-size: 100px;
letter-spacing: 0;
}
.pageNotFound h1.head span:before,
.pageNotFound h1.head span:after {
width: 25%;
}
.pageNotFound h1.head span:before {
left: -30%;
}
.pageNotFound h1.head span:after {
right: -30%;
}
}

@media (min-width: 576px) {
.settingsDropdown {
display: none;
Expand Down
Loading