Skip to content
Snippets Groups Projects
Verified Commit 9ba4db1b authored by Radeczki Gergő István's avatar Radeczki Gergő István :fire:
Browse files

hacked and fixed button colors

parent c63193dd
No related branches found
No related tags found
1 merge request!56Markdown tutorials
......@@ -55,6 +55,40 @@
text-decoration: underline dotted var(--md-accent-fg-color);
}
/* Fix buttons */
.md-content .md-button[href] {
text-decoration: none;
}
.md-content .md-button[href]:hover {
text-decoration: none;
color: white;
}
.md-content .md-button.md-button--primary[href]:hover {
background-color: var(--md-primary-fg-color--dark);
border-color: var(--md-primary-fg-color--dark);
}
[data-md-color-scheme="slate"] .md-content .md-button[href] {
color: var(--md-accent-fg-color);
}
[data-md-color-scheme="slate"] .md-content .md-button[href]:hover {
color: white;
}
[data-md-color-scheme="slate"] .md-content .md-button.md-button--primary[href] {
color: white;
background-color: var(--md-accent-fg-color);
border-color: var(--md-accent-fg-color);
}
[data-md-color-scheme="slate"] .md-content .md-button.md-button--primary[href]:hover {
background-color: #485079;
border-color: #485079;
}
/* make links in main dotted and invert color on hover */
.md-content a[href]:hover {
color: var(--md-accent-fg-color-invert);
......@@ -66,6 +100,8 @@
content: url("../../img/schdesign_s_logo_red.svg");
}
/* YouTube iframe stuff */
.youtube-16-9 {
position: relative;
width: 100%;
......
......@@ -237,7 +237,7 @@ Ha linkek helyett inkább menő gombokat szeretnél használni, akkor azt így t
[Subscribe to our mailing list](#){ .md-button .md-button--primary }
```
=== "megjelenés"
[Subscribe to our mailing list](){ .md-button .md-button--primary }
[Subscribe to our mailing list](#){ .md-button .md-button--primary }
!!! note "Kitöltött gomb ikonnal"
=== "példa kód"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment