frontend/src/stylesheets/globals.scss

82 lines
1.3 KiB
SCSS
Raw Normal View History

2018-12-11 10:42:56 +00:00
@import "variables";
/* globals */
* {
box-sizing: border-box;
margin: 0px;
border: 0px;
2018-12-11 10:42:56 +00:00
}
/* fonts */
@font-face {
font-family: 'Fedra Arabic';
src: url('../assets/fonts/Fedra Arabic Reg_beta.ttf') format('truetype');
2018-12-11 10:42:56 +00:00
}
@font-face {
font-family: 'bebas';
src: url('../assets/fonts/BEBAS___.ttf') format('truetype');
2018-12-11 10:42:56 +00:00
}
@font-face {
font-family: 'majalla';
src: url('../assets/fonts/majalla 2.ttf') format('truetype');
2018-12-11 10:42:56 +00:00
}
@font-face {
font-family: 'MyriadPro Regular';
src: url('../assets/fonts/MyriadPro-Regular.otf') format('otf');
2018-12-11 10:42:56 +00:00
}
@font-face {
font-family: 'interstate';
src: url('../assets/fonts/Interstate-Regular.bmap') format('bmap'),
url('../assets/fonts/Interstate-Bold.bmap') format('bmap');
2018-12-11 10:42:56 +00:00
}
.text-left {
text-align: left;
2018-12-11 10:42:56 +00:00
}
.arabic-text {
font-family: "Fedra Arabic", serif;
padding: .3em;
2018-12-11 10:42:56 +00:00
}
.english-text {
font-family: majalla, serif;
padding: .3em;
2018-12-11 10:42:56 +00:00
}
/* App */
.App {
max-width: 1200px;
margin: 0 auto;
2018-12-11 10:42:56 +00:00
}
// buttons
button {
padding: 1em;
font-weight: bold;
font-size: 1em;
max-width: 300px;
justify-self: center; // for the css grid
}
// spans
span {
display: inline-block;
position: relative;
}
// links
a {
text-decoration: none;
font-size: 14px;
color: black;
}
.normal-link{
text-decoration: underline;
color: $normal-link-color;
}