nehalelkaref's picture
Rename static/home.css to static/CSS/home.css
b28e68a
raw
history blame
1.39 kB
html {
direction: rtl;
line-height: 1.2;
/* max-width: 800px; */
margin: 20px auto;
text-align: justify;
font-size: 16pt;
color: #404040;
background-color: #f9f7ec;
font-feature-settings: "pnum" 1;
}
.button-89 {
--b: 3px; /* border thickness */
--s: .45em; /* size of the corner */
--color: #373B44;
padding: calc(.5em + var(--s)) calc(.9em + var(--s));
color: var(--color);
--_p: var(--s);
background:
conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0)
var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
transition: .3s linear, color 0s, background-color 0s;
outline: var(--b) solid #0000;
outline-offset: .6em;
font-size: 16px;
font-family: ArefRuqaaBold;
border: 0;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-89:hover,
.button-89:focus-visible{
--_p: 0px;
outline-color: var(--color);
outline-offset: .05em;
}
.button-89:active {
background: var(--color);
color: #fff;
}
@font-face { font-family: ArefRuqaa; src: url('ArefRuqaaInk-Regular.ttf'); }
h1 {
font-family: ArefRuqaa
}
@font-face { font-family: ArefRuqaaBold; src: url('ArefRuqaa-Bold.ttf'); }
h2 {
font-family: ArefRuqaaBold;
text-decoration : underline;
font-weight: normal;
text-align: center;
}