mirror of https://github.com/sveltejs/svelte
36 lines
628 B
36 lines
628 B
3 years ago
|
import emotion from '@emotion/css@11.1.3/dist/emotion-css.umd.min.js';
|
||
6 years ago
|
|
||
|
const { css } = emotion;
|
||
6 years ago
|
|
||
|
const brand = '#74D900';
|
||
|
|
||
|
export const title = css`
|
||
|
color: ${brand};
|
||
|
font-size: 1em;
|
||
|
white-space: nowrap;
|
||
|
`;
|
||
|
|
||
|
export const comicSans = css`
|
||
5 years ago
|
font-family: 'Comic Sans MS', cursive;
|
||
6 years ago
|
`;
|
||
|
|
||
|
export const box = css`
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
|
border: 2px solid ${brand};
|
||
|
line-height: 1;
|
||
|
padding: 4px;
|
||
|
border-radius: 4px;
|
||
|
`;
|
||
|
|
||
|
export const link = css`
|
||
|
color: inherit;
|
||
|
font-weight: bold;
|
||
|
text-decoration: none;
|
||
|
border-bottom: 1px solid ${brand};
|
||
|
&:hover {
|
||
|
text-decoration: none;
|
||
|
background: ${brand};
|
||
|
}
|
||
6 years ago
|
`;
|