/* article.css */
/* -------------------------------------------------------------------------------- *
* Flex layout
* -------------------------------------------------------------------------------- */
}
/* Article column wrappers */
}
/* -------------------------------------------------------------------------------- *
* Conditional
*/
}
/* NOTE: CSS media queries don't accept variables
* - 15px: content padding
* - 300px: sidebar width
* - 900px: max article width
* - 100px: article left width
FIXME: The padding changes digitally. I wanted to use margin: auto, but each head is not wrapperd
by a div, so I need some hack.
*/
/* Show article. Nav bar is over it (basically mobile) */
{
}
/* without sidebar */
}
/* with sidebar */
}
}
/* Show article and nav bar with minimum padding */
{
/* with sidebar */
}
}
/* without sidebar */
}
/* with sidebar */
}
}
/* Show article and nav bar with max padding */
{
/* with sidebar */
}
}
/* without sidebar */
}
/* with sidebar */
}
}