ultralytics 8.2.75 new Docs author profiles (#15050)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
1523fa12d8
commit
24c6bbf68f
5 changed files with 67 additions and 3 deletions
|
|
@ -102,3 +102,66 @@ div.highlight {
|
|||
}
|
||||
}
|
||||
/* Banner (same as the one on the Ultralytics website) -------------------------------------------------------------- */
|
||||
|
||||
|
||||
/* MkDocs Ultralytics Plugin ---------------------------------------------------------------------------------------- */
|
||||
.git-info, .share-buttons {
|
||||
font-size: 0.8em;
|
||||
color: grey;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.dates {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.dates span, .author-link, .share-button {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.dates span {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.hover-item {
|
||||
transition: all 0.2s ease;
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
.dates .hover-item {
|
||||
font-size: 1.6em;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.author-link .hover-item {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
margin-right: 1px;
|
||||
}
|
||||
.hover-item:hover {
|
||||
transform: scale(1.2);
|
||||
filter: grayscale(0%);
|
||||
}
|
||||
.share-button {
|
||||
background-color: #1da1f2;
|
||||
color: white;
|
||||
padding: 6px 12px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
font-size: 0.95em;
|
||||
margin-left: 5px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.share-button:hover {
|
||||
transform: scale(1.1);
|
||||
filter: brightness(1.2);
|
||||
}
|
||||
.share-button.linkedin {
|
||||
background-color: #0077b5;
|
||||
}
|
||||
.share-button i {
|
||||
margin-right: 5px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
/* MkDocs Ultralytics Plugin ---------------------------------------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue