Commit 16e69631 authored by Almouhannad's avatar Almouhannad

(F) Fix styling in layout using ::ng--deep

parent eecfa41c
/*-------------------------------------------------------------- /*--------------------------------------------------------------
# General Styling & Shared Classes # General Styling & Shared Classes
--------------------------------------------------------------*/ --------------------------------------------------------------*/
* { ::ng-deep * {
color: var(--default-color); color: var(--default-color);
background-color: var(--background-color); background-color: var(--background-color);
font-family: var(--default-font); font-family: var(--default-font);
} }
a { ::ng-deep a {
color: var(--accent-color); color: var(--accent-color);
text-decoration: none; text-decoration: none;
transition: 0.3s; transition: 0.3s;
} }
a:hover { ::ng-deep a:hover {
color: color-mix(in srgb, var(--accent-color), transparent 25%); color: color-mix(in srgb, var(--accent-color), transparent 25%);
text-decoration: none; text-decoration: none;
} }
h1, ::ng-deep h1,
h2, ::ng-deep h2,
h3, ::ng-deep h3,
h4, ::ng-deep h4,
h5, ::ng-deep h5,
h6 { ::ng-deep h6 {
color: var(--heading-color); color: var(--heading-color);
font-family: var(--heading-font); font-family: var(--heading-font);
} }
\ No newline at end of file
<div class="app-header"> <app-header></app-header>
<app-header></app-header>
</div>
<div class="app-footer"> <app-footer></app-footer>
<app-footer></app-footer> \ No newline at end of file
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment