Skip to content

Commit 6ee7c29

Browse files
authored
Merge pull request #15 from 4geru/move-css-to-style-directory
move css to styles directory
2 parents d073792 + 545751a commit 6ee7c29

File tree

10 files changed

+31
-31
lines changed

10 files changed

+31
-31
lines changed

components/IndexArticles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { VFC } from 'react'
44
import Link from 'next/link'
55

6-
import styles from './section.module.css'
6+
import styles from '../styles/section.module.css'
77
import articleStyles from './IndexArticles.module.css'
88

99
const IndexArticles: VFC = () => {

components/Twitter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { VFC } from 'react'
44
import { Timeline } from 'react-twitter-widgets'
55

6-
import styles from './section.module.css'
6+
import styles from '../styles/section.module.css'
77

88
const Header: VFC = () => {
99
return (

components/section.module.css

Lines changed: 0 additions & 23 deletions
This file was deleted.

pages/contact.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { VFC } from 'react'
44
import { Layout } from '../components/Layout'
55
import Twitter from '../components/Twitter'
66

7-
import styles from '../components/section.module.css'
7+
import styles from '../styles/section.module.css'
88

99
const Contact: VFC = () => {
1010
return (

pages/event/[id].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Layout } from '../../components/Layout'
66
import { EventDetails, EventDetailType } from '../../components/EventList'
77
import { useState, useEffect } from 'react'
88

9-
import styles from '../../components/section.module.css'
9+
import styles from '../../styles/section.module.css'
1010
import detailsStyle from '../../styles/details.module.css'
1111

1212
const defaultId = 'rupc2018'

pages/event/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Link from 'next/link'
55
import { Layout } from '../../components/Layout'
66
import { EventType, Events } from '../../components/EventList'
77

8-
import styles from '../../components/section.module.css'
8+
import styles from '../../styles/section.module.css'
99
import eventStyles from '../../styles/event.module.css'
1010

1111
const Event: VFC = () => {

pages/links.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { VFC } from 'react'
44
import { Layout } from '../components/Layout'
55
import { SectionType, LinksType, sections } from '../components/Links'
66

7-
import styles from '../components/section.module.css'
7+
import styles from '../styles/section.module.css'
88

99
const LinkSection: VFC<SectionType> = (Props: SectionType): JSX.Element => {
1010
return (

pages/menbers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { VFC } from 'react'
44
import { Layout } from '../components/Layout'
55
import AtCoderGraph from '../components/atcoder/AtCoderGraph'
6-
import styles from '../components/section.module.css'
6+
import styles from '../styles/section.module.css'
77

88
const AtCoderPage: VFC = () => {
99
return (

pages/welcome.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Link from 'next/link'
55
import { Layout } from '../components/Layout'
66
import YouTube from 'react-youtube'
77

8-
import styles from '../components/section.module.css'
8+
import styles from '../styles/section.module.css'
99
import welcomeStyles from '../styles/welcome.module.css'
1010

1111
const Welcome: VFC = () => {

styles/section.module.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.section {
2+
margin-left: 8px;
3+
padding: 2px;
4+
font-size: 11pt;
5+
}
6+
7+
.section h2 {
8+
margin: 24px 0px;
9+
padding-left: 4px;
10+
padding: 0.5em;
11+
color: #000;
12+
background: #cdf0fd;
13+
border-left: solid 5px #6cbad8;
14+
}
15+
16+
.section h3 {
17+
margin: 16px 0px;
18+
border-bottom: 1px dashed #6cbad8;
19+
}
20+
21+
.section ul {
22+
margin: 4px;
23+
}

0 commit comments

Comments
 (0)