[Kimchi-devel] [PATCH] New UI: Font scale, weight, style

Aline Manera alinefm at linux.vnet.ibm.com
Thu Jan 8 18:42:47 UTC 2015


On 07/01/2015 01:22, huoyuxin at linux.vnet.ibm.com wrote:
> From: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
>
> Signed-off-by: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
> ---
>   ui/css/theme-default/base.css |   40 ++++++++++++++++++++++++++++++++++++++++
>   1 files changed, 40 insertions(+), 0 deletions(-)
>   create mode 100644 ui/css/theme-default/base.css
>
> diff --git a/ui/css/theme-default/base.css b/ui/css/theme-default/base.css
> new file mode 100644
> index 0000000..f143ec9
> --- /dev/null
> +++ b/ui/css/theme-default/base.css

The license header is missing.

And I couldn't see any difference on UI. Is it because the current 
elements do not use the following CSS classes?
But what about html and body elements?

> @@ -0,0 +1,40 @@
> +html, body {
> +    font-family: 'Helvetica Neue', Helvetica, Arial;
> +}
> +
> +/* 2 levels of header text size */
> +
> +.h1-bold {
> +    font-size: 27px;
> +    font-weight: bold;
> +}
> +
> +.h1-light {
> +    font-size: 27px;
> +    font-weight: lighter;
> +}
> +
> +.h2-bold {
> +    font-size: 22px;
> +    font-weight: bold;
> +}
> +
> +/* 2 levels of content text size */
> +
> +.c1-bold {
> +    font-size: 17px;
> +    font-weight: bold;
> +}
> +
> +.c1 {
> +    font-size: 17px;
> +}
> +
> +.c1-light {
> +    font-size: 17px;
> +    font-weight: lighter;
> +}
> +
> +.c2 {
> +    font-size: 14px;
> +}




More information about the Kimchi-devel mailing list