rubik font only

This commit is contained in:
Sendou 2020-05-01 14:51:27 +03:00
parent beb40c3353
commit ec8ceeee41
8 changed files with 11 additions and 16 deletions

View File

@ -8,7 +8,7 @@
<meta name="description" content="Competitive Splatoon hub" />
<link rel="apple-touch-icon" href="logo192.png" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat|Pacifico|Rubik&display=swap"
href="https://fonts.googleapis.com/css?family=Rubik&display=swap"
rel="stylesheet"
/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

View File

@ -17,7 +17,7 @@ const PageHeader: React.FC<PageHeaderProps> = ({ title }) => {
borderLeftWidth="5px"
pl="5px"
mb="0.5em"
fontFamily="'Rubik', cursive"
fontFamily="'Rubik', sans-serif"
fontWeight="bold"
>
{title}

View File

@ -136,7 +136,7 @@ const Markdown: React.FC<MarkdownProps> = ({ value }) => {
my={4}
size="lg"
{...getCoreProps(props)}
fontFamily="'Rubik', cursive"
fontFamily="'Rubik', sans-serif"
>
{children}
</Heading>

View File

@ -0,0 +1,3 @@
* {
font-family: "Rubik", sans-serif;
}

View File

@ -1,4 +1,5 @@
import React from "react"
import React, { useEffect } from "react"
import "./App.css"
import { Box, useColorMode, useTheme as useChakraTheme } from "@chakra-ui/core"
import { MenuBar } from "./MenuBar"
@ -9,7 +10,6 @@ import { ThemeColor } from "../../types"
import { MyThemeProvider } from "../../themeContext"
import { Theme } from "../../types"
import Footer from "./Footer"
import { useEffect } from "react"
const App: React.FC = () => {
const chakraTheme = useChakraTheme()
@ -63,7 +63,6 @@ const App: React.FC = () => {
color={theme[colorMode].textColor}
bg={theme[colorMode].bgColor}
minH="100vh"
fontFamily="'Montserrat', sans-serif"
pb="20px"
>
<SideNav />

View File

@ -15,7 +15,7 @@ const Logo: React.FC<LogoProps> = ({ mobile = false }) => {
display="inline-block"
transform="translateY(-7px)"
fontSize={mobile ? "25px" : "30px"}
fontFamily="'Pacifico', cursive"
fontWeight="bold"
transition="1.1s"
>
S
@ -26,7 +26,7 @@ const Logo: React.FC<LogoProps> = ({ mobile = false }) => {
display="inline-block"
transform="translateY(7px)"
fontSize={mobile ? "25px" : "30px"}
fontFamily="'Pacifico', cursive"
fontWeight="bold"
transition="1.1s"
>
ink

View File

@ -29,7 +29,6 @@ const NavItem: React.FC<NavItemProps> = ({ to, icon, title }) => {
px="2"
py="1"
transition="all 0.2s"
fontFamily="'Rubik', cursive"
fontSize="1.1em"
outline="none"
_focus={{ shadow: "outline" }}

View File

@ -28,13 +28,7 @@ const LogoHeader: React.FC<LogoHeaderProps> = ({
return (
<Box display="flex" flexDirection="column" alignItems="center">
<UserAvatar name={name} twitterName={twitter_name} size="2xl" />
<Box
fontFamily="'Pacifico', cursive"
fontWeight="light"
fontSize="48px"
w="100%"
textAlign="center"
>
<Box fontWeight="light" fontSize="48px" w="100%" textAlign="center">
{name}
</Box>
{founded && (