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">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
ReDoc uses font options from the parent element
|
ReDoc doesn't change outer page styles
|
||||||
So override default browser styles
|
|
||||||
-->
|
-->
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: Verdana, Geneva, sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
color: #333;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
<title>ReDoc</title>
|
<title>ReDoc</title>
|
||||||
<link rel="stylesheet" href="main.css">
|
<link rel="stylesheet" href="main.css">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<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 {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
|
|
|
@ -9,6 +9,9 @@ $red : #e53935;
|
||||||
|
|
||||||
// Font
|
// 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;
|
$em-size : 14px;
|
||||||
|
|
||||||
// Font weights
|
// Font weights
|
||||||
|
|
Loading…
Reference in New Issue
Block a user