unify fonts

pull/1/head
Pierre Bondoerffer 7 years ago
parent a16d4be3c4
commit dac14de18c
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -1,4 +1,5 @@
/* Bottom Bar */ /* Bottom Bar */
@import (once) "../less2/include/colortheme.less";
.top-bar, .bottom-bar { .top-bar, .bottom-bar {
position:fixed; position:fixed;
@ -16,7 +17,7 @@
} }
p { p {
margin: -1px; margin: -1px;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif; font-family: @colortheme_font;
font-size: 20px; font-size: 20px;
display:block; display:block;

@ -2,6 +2,7 @@
@import "./mixins.less"; @import "./mixins.less";
@import "../less2/include/alertify.less"; @import "../less2/include/alertify.less";
@import "../less2/include/colortheme.less";
@import "./bar.less"; @import "./bar.less";
@import "./loading.less"; @import "./loading.less";
@import "./dropdown.less"; @import "./dropdown.less";
@ -27,7 +28,7 @@ html.cp, .cp body {
// add font for tooltips // add font for tooltips
.tippy-popper { .tippy-popper {
font: normal normal normal 16px Arial, Helvetica, Tahoma, Verdana, Sans-Serif; font: 16px @colortheme_font;
} }
// override bootstrap colors // override bootstrap colors
@ -69,7 +70,7 @@ a.github-corner > svg {
h1,h2,h3,h4,h5,h6 { h1,h2,h3,h4,h5,h6 {
color: @fore; color: @fore;
font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif; font-family: @colortheme_font;
-webkit-font-feature-settings: 'dlig' 1,'liga' 1,'lnum' 1,'kern' 1; -webkit-font-feature-settings: 'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;
-moz-font-feature-settings: 'dlig' 1,'liga' 1,'lnum' 1,'kern' 1; -moz-font-feature-settings: 'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;
font-feature-settings: 'dlig' 1,'liga' 1,'lnum' 1,'kern' 1; font-feature-settings: 'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;
@ -427,7 +428,7 @@ noscript {
max-width: 40%; max-width: 40%;
padding: 10px; padding: 10px;
box-sizing: border-box; box-sizing: border-box;
font-family: lato, Helvetica, sans-serif; font-family: @colortheme_font;
color: @main-color; color: @main-color;
label { label {
@ -641,7 +642,7 @@ noscript {
box-sizing: border-box; box-sizing: border-box;
z-index:10000; z-index:10000;
display: none; display: none;
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-family: @colortheme_font;
#uploadStatus { #uploadStatus {
width: 80vw; width: 80vw;
border: 1px solid black; border: 1px solid black;

@ -1,3 +1,4 @@
@import (once) "../less2/include/colortheme.less";
/* The container <div> - needed to position the dropdown content */ /* The container <div> - needed to position the dropdown content */
.dropdown-bar { .dropdown-bar {
@ -36,7 +37,7 @@
z-index: 1000; z-index: 1000;
max-height: 300px; max-height: 300px;
overflow-y: auto; overflow-y: auto;
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-family: @colortheme_font;
font-size: 16px; font-size: 16px;
line-height: 1em; line-height: 1em;

@ -1,8 +1,9 @@
@import "./variables.less"; @import "./variables.less";
@import (once) "../less2/include/colortheme.less";
.cp footer { .cp footer {
background: @category-bg; background: @category-bg;
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-family: @colortheme_font;
padding-top: 1em; padding-top: 1em;
font-size: 1.2em; font-size: 1.2em;
a { a {

@ -1,4 +1,5 @@
@import "./variables.less"; @import "./variables.less";
@import (once) "../less2/include/colortheme.less";
.cp #loading { .cp #loading {
position: fixed; position: fixed;
@ -51,7 +52,7 @@
text-align: center; text-align: center;
font-size: 1.5em; font-size: 1.5em;
opacity: 0.7; opacity: 0.7;
font-family: lato, Helvetica, sans-serif; font-family: @colortheme_font;
padding: 15px; padding: 15px;
max-width: 60%; max-width: 60%;
display: inline-block; display: inline-block;

@ -2,6 +2,7 @@
@import "./mixins.less"; @import "./mixins.less";
@import "./dropdown.less"; @import "./dropdown.less";
@import (once) "../less2/include/colortheme.less";
.unselectable { .unselectable {
-webkit-touch-callout: none; -webkit-touch-callout: none;
@ -61,7 +62,7 @@
} }
body .userlist-drawer { body .userlist-drawer {
font: normal normal normal @main-font-size Arial,Helvetica,Tahoma,Verdana,Sans-Serif; font: @main-font-size @colortheme_font;
min-width: 175px; min-width: 175px;
width: 175px; width: 175px;
display: block; display: block;
@ -100,7 +101,7 @@ body .userlist-drawer {
} }
& > p { & > p {
font: normal normal normal @main-font-size Arial,Helvetica,Tahoma,Verdana,Sans-Serif; font: @main-font-size @colortheme_font;
margin: 0; margin: 0;
padding: 0; padding: 0;
display: block; display: block;

@ -1,4 +1,5 @@
@import "./variables.less"; @import "./variables.less";
@import (once) "../less2/include/colortheme.less";
#cryptpadTopBar { #cryptpadTopBar {
background: @topbar-back; background: @topbar-back;
@ -8,7 +9,7 @@
right: 0; right: 0;
height: @topbar-height; height: @topbar-height;
color: @topbar-color; color: @topbar-color;
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: @colortheme_font;
padding: 5px; padding: 5px;
box-sizing: border-box; box-sizing: border-box;
font-size: 30px; font-size: 30px;

@ -49,7 +49,7 @@
// Dropdown // Dropdown
@dropdown-font: @main-font-size -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; @dropdown-font: @main-font-size @colortheme_font;
@dropdown-bg: #f9f9f9; @dropdown-bg: #f9f9f9;
@dropdown-color: black; @dropdown-color: black;
@dropdown-bg-hover: #f1f1f1; @dropdown-bg-hover: #f1f1f1;

@ -1,3 +1,5 @@
@colortheme_font: 'Open Sans', 'Helvetica Neue', sans-serif;
@colortheme_link-color: #0275D8; @colortheme_link-color: #0275D8;
@colortheme_link-color-visited: #005999; @colortheme_link-color-visited: #005999;
@colortheme_info-background: #fafafa; @colortheme_info-background: #fafafa;

@ -21,8 +21,8 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
font-size: 16pxt:; font-size: 16px;
font-family: 'Open Sans', 'Helvetica Neue', sans-serif; font-family: @colortheme_font;
.cp-container { .cp-container {
font-size: 16px; font-size: 16px;

Loading…
Cancel
Save