mirror of
https://github.com/uetchy/namae.git
synced 2025-08-20 09:58:13 +09:00
chore: cosmetic changes
This commit is contained in:
@@ -63,7 +63,7 @@ const Form: React.FC<{
|
||||
return (
|
||||
<InputContainer>
|
||||
<Logo onClick={onLogoClick}>
|
||||
<Link to="/">namæ</Link>
|
||||
<Link to="/">namae</Link>
|
||||
</Logo>
|
||||
<InputView
|
||||
onChange={onInputChange}
|
||||
@@ -96,7 +96,7 @@ const InputContainer = styled.div`
|
||||
const Logo = styled.div`
|
||||
margin-bottom: 5px;
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
color: #4a90e2;
|
||||
@@ -107,12 +107,16 @@ const Logo = styled.div`
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:hover,
|
||||
a:active,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
color: #4a90e2;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: #0075ff;
|
||||
}
|
||||
`;
|
||||
|
||||
const InputView = styled.input.attrs({
|
||||
@@ -126,9 +130,15 @@ const InputView = styled.input.attrs({
|
||||
border: none;
|
||||
outline: none;
|
||||
text-align: center;
|
||||
font-family: monospace;
|
||||
font-family: 'Montserrat', monospace;
|
||||
font-weight: 600;
|
||||
font-size: 5rem;
|
||||
line-height: 1.2em;
|
||||
transition: opacity 100ms ease-out;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
${mobile} {
|
||||
font-size: 2rem;
|
||||
|
@@ -221,12 +221,14 @@ const Container = styled.div`
|
||||
`;
|
||||
|
||||
const Title = styled.div`
|
||||
margin-top: 15px;
|
||||
padding: 5px 14px;
|
||||
margin-top: 20px;
|
||||
padding: 3px 10px;
|
||||
color: gray;
|
||||
border: 1px solid gray;
|
||||
border-radius: 2em;
|
||||
font-size: 0.6rem;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
user-select: none;
|
||||
`;
|
||||
|
||||
const Items = styled.div`
|
||||
|
@@ -50,7 +50,7 @@ const Welcome: React.FC = () => {
|
||||
<Header>{t('title')}</Header>
|
||||
<Text>{t('description')}</Text>
|
||||
<ExampleQueries>
|
||||
<h5>Try these queries</h5>
|
||||
<h5>{t('exampleQueries')}</h5>
|
||||
<List>
|
||||
{queries.map((query) => (
|
||||
<ListButton key={query}>
|
||||
@@ -229,5 +229,10 @@ const ListButton = styled.div`
|
||||
padding: 10px;
|
||||
border: 1px solid black;
|
||||
border-radius: 2px;
|
||||
|
||||
&:hover {
|
||||
color: white;
|
||||
background: black;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@@ -14,7 +14,7 @@ i18n
|
||||
backends: [LocalStorageBackend, XHR],
|
||||
backendOptions: [
|
||||
{
|
||||
versions: {en: '1.7', ja: '1.7'},
|
||||
versions: {en: '1.8', ja: '1.8'},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user