website/styl/lib/_general.styl

84 lines
1.2 KiB
Stylus
Raw Normal View History

html {
scroll-behavior: smooth;
2021-01-11 15:42:09 +01:00
}
body {
margin: 0;
background-color: $back-color-2;
color: $text-color;
font-family: 'Source Sans Pro', sans-serif;
width: calc(100% - 1px);
height: 100%;
}
2021-01-11 19:12:50 +01:00
button {
background-color: $accent-color;
2021-11-09 11:23:47 +01:00
color: #000;
text-transform: uppercase;
border: 0;
padding: 5px;
cursor: pointer;
border-radius: 5px;
transition: background-color $link-hover-animation-time linear;
&:hover,
&:active,
&:focus {
background-color: $accent-color-2;
outline: none;
}
2021-01-11 15:42:09 +01:00
}
.spacer {
clear: both;
2021-01-11 15:42:09 +01:00
}
a {
padding: 0;
color: $accent-color;
text-decoration: underline;
transition: color $link-hover-animation-time;
&:HOVER {
color: $accent-color-2;
}
}
2021-01-11 19:12:50 +01:00
.noStyleLink {
text-decoration: none;
2021-01-11 15:42:09 +01:00
}
2021-01-11 19:39:22 +01:00
h1 {
color: $title-color;
text-transform: uppercase;
2021-01-11 19:39:22 +01:00
}
2021-01-11 19:24:57 +01:00
.red {
color: red;
2021-12-10 09:41:48 +01:00
a:hover {
color: darken(#f00, 10%)
2021-12-10 09:41:48 +01:00
}
2021-01-11 15:42:09 +01:00
}
.center {
text-align: center;
}
.left {
text-align: left;
}
.right {
text-align: left;
}
.block {
text-align: justify;
text-justify: auto;
2021-07-11 01:24:02 +02:00
}
img {
border-radius: $border-radius-image;
&.no-corner {
border-radius: 0;
}
2021-11-09 11:23:47 +01:00
}