Add name badge

This commit is contained in:
Roman Gotsiy 2015-11-05 23:25:22 +02:00
parent ad47ce0788
commit e688774efb
2 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,7 @@
</head> </head>
<body> <body>
<nav> <nav>
<header> ReDoc </header>
<input id="schema-url-input" value='swagger.json'> <input id="schema-url-input" value='swagger.json'>
<button id="load-button"> Explore </button> <button id="load-button"> Explore </button>
</nav> </nav>

View File

@ -16,7 +16,13 @@ nav input, nav button {
line-height: 1; line-height: 1;
outline: none; outline: none;
} }
nav header {
float: left;
margin-left: 20px;
font-size: 25px;
color: white;
position: absolute;
}
nav input { nav input {
width: 50%; width: 50%;
box-sizing: border-box; box-sizing: border-box;