diff --git a/index.html b/index.html index d9775a7..15ff083 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,8 @@

Hello, world!

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do.

diff --git a/src/_buttons.scss b/src/_buttons.scss new file mode 100644 index 0000000..f05938a --- /dev/null +++ b/src/_buttons.scss @@ -0,0 +1,14 @@ +a.button, a.button:visited, button, input[type=submit] { + font-size: 1rem; + background-color: var(--color-accent); + color: var(--color-contrast-accent); + padding: 0.66rem 1rem; + margin-bottom: 0.66rem; + border-radius: var(--button-radius); + transition: background-color .5s ease; + border: none; + &:hover { + background-color: var(--color-accent-hover); + } +} + diff --git a/src/_core.scss b/src/_core.scss new file mode 100644 index 0000000..7c92955 --- /dev/null +++ b/src/_core.scss @@ -0,0 +1,18 @@ +:root { + --color-accent-text: #1864ab; + --color-accent: #1971c2; + --color-accent-hover: #228be6; + --color-accent-background: #d0ebff; + --color-contrast-accent: white; + + --button-radius: 6px; + --card-radius:6px; + --well-radius:6px; +} + +body { + margin: auto; + width: 800px; + font-size:18px; + line-height: 1.5; +} diff --git a/src/main.scss b/src/main.scss index de6ebed..ff3e48a 100644 --- a/src/main.scss +++ b/src/main.scss @@ -1,5 +1,11 @@ -body { - margin: auto; - width: 800px; - font-size:16px; +@import 'core'; +@import 'buttons'; + +.card, .alert { + border-radius: var(--card-radius); +} + +.alert { + background-color: var(--color-accent-background); + color: var(--color-accent-text); } \ No newline at end of file