This commit is contained in:
Eric Jinks 2018-01-23 11:10:21 +10:00
parent d03e6e5dbe
commit 71266f7d87
2 changed files with 38 additions and 3 deletions

View file

@ -1,4 +1,4 @@
/* Admin tweaks 1.0.2 */
/* Admin tweaks 1.0.3 */
.nc-mediaLibrary-cardImage {
object-fit: contain;
height: auto;
@ -33,6 +33,11 @@
width: auto;
}
.nc-entryListing-cardImage {
background-size: contain;
background-color: whitesmoke;
}
.nc-mediaLibrary-cardText {
margin: 0;
}
@ -41,3 +46,33 @@
display: flex;
flex-direction: column;
}
/* Custom logo */
/* .nc-githubAuthenticationPage-logo {
background-image: url(/images/teeth-on-ferry-logo@2x.png);
background-position: center;
background-repeat: no-repeat;
background-size: 200px;
}
.nc-githubAuthenticationPage-logo svg {
display: none;
}
.nc-githubAuthenticationPage-button {
text-indent: -1000px;
overflow: hidden;
width: 8rem;
}
.nc-githubAuthenticationPage-button:after {
content: 'Login';
display: block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: auto;
text-indent: 0;
} */

View file

@ -6,14 +6,14 @@
<title>Content Manager</title>
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@1.0.2/dist/cms.css" />
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@1.0.3/dist/cms.css" />
<link rel="stylesheet" href="admin.css" />
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://identity-js.netlify.com/v1/netlify-identity-widget.js"></script>
<script src="https://unpkg.com/netlify-cms@1.0.2/dist/cms.js"></script>
<script src="https://unpkg.com/netlify-cms@1.0.3/dist/cms.js"></script>
<script>
// redirect when logging out