Files
2022_WEBSITE_kosmopolit/styles/aside_right.css
2021-03-12 20:37:52 +01:00

28 lines
727 B
CSS

/*---------------------------------------------*/
/*ASIDE RIGHT RELATIVES*/
/* aside right is for links to relatives content*/
aside.aside_right {
padding: calc(var(--gap-unit) / 2);
}
/* asides elements only have width if they have a child*/
aside.aside_right *:first-child {
width: var(--aside-right-width);
}
aside.aside_right .relative_box {
margin: var(--aside-margin);
padding: var(--gap-unit);
width: fit-content;
border: 1px solid var(--color-lines-2);
}
aside.aside_right .box_name {
border-bottom: 1px solid var(--color-lines-2);
padding-bottom: var(--gap-unit);
}
aside.aside_right .relative_box > * {
margin-bottom: var(--gap-unit);
}
aside.aside_right .relative_box a h2 {
color: var(--color-text-2);
}