mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
Make roboto/montserrat fonts part of ReDoc (until styling feature is done)
This commit is contained in:
parent
c92a743ea8
commit
9e2fab9108
|
@ -21,16 +21,12 @@ Swagger-generated API Reference Documentation
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!--
|
||||
ReDoc uses font options from the parent element
|
||||
So override default browser styles
|
||||
ReDoc doesn't change outer page styles
|
||||
-->
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Verdana, Geneva, sans-serif;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -4,11 +4,6 @@
|
|||
<title>ReDoc</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<style>
|
||||
@import url(//fonts.googleapis.com/css?family=Roboto:300,400,700);
|
||||
@import url(//fonts.googleapis.com/css?family=Montserrat:400,700);
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/*@import url(http://fonts.googleapis.com/css?family=Roboto:300,400,700);
|
||||
@import url(http://fonts.googleapis.com/css?family=Montserrat:300,400);*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding-top: 50px;
|
||||
|
|
|
@ -9,6 +9,9 @@ $red : #e53935;
|
|||
|
||||
// Font
|
||||
// ---------------------------
|
||||
@import url('//fonts.googleapis.com/css?family=Roboto:300,400,700');
|
||||
@import url('//fonts.googleapis.com/css?family=Montserrat:400,700');
|
||||
|
||||
$em-size : 14px;
|
||||
|
||||
// Font weights
|
||||
|
|
Loading…
Reference in New Issue
Block a user