leomurca/src/lib/styles/global.css

79 lines
1.4 KiB
CSS

html,
body {
margin: 0;
padding: 0;
background: var(--color-light-background);
font-family: var(--font-base);
scroll-behavior: smooth;
overflow-x: hidden;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}
/* region buttons */
.primary-button {
padding: 10px 22px;
border: none;
border-radius: 15px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-decoration: none;
display: inline-block;
text-align: center;
background: var(--color-secondary);
color: white;
border: none;
box-shadow: 0 4px 0 #cc3928;
transition: all 0.1s ease;
}
.primary-button:hover {
transform: translateY(1px);
box-shadow: 0 3px 0 #cc3928;
}
.primary-button:active {
box-shadow: 0 1px 0 #cc3928;
top: 1px;
}
.secondary-button {
padding: 10px 22px;
border: none;
border-radius: 15px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-decoration: none;
display: inline-block;
text-align: center;
background: var(--color-primary);
color: white;
border: none;
box-shadow: 0 4px 0 #db7e2e;
transition: all 0.1s ease;
}
.secondary-button:hover {
transform: translateY(1px);
box-shadow: 0 3px 0 #db7e2e;
}
.secondary-button:active {
box-shadow: 0 1px 0 #db7e2e;
top: 1px;
}
/* endregion buttons */