diff --git a/assets/css/darkmode.css b/assets/css/darkmode.css index bb991874..6b70b035 100644 --- a/assets/css/darkmode.css +++ b/assets/css/darkmode.css @@ -98,6 +98,7 @@ button { cursor: pointer; } + html { font-family: var(--ff-gilroy); font-size: 10px; @@ -426,9 +427,38 @@ body.nav-active { overflow: hidden; } gap: 12px; } - - - +.button-container { + display: flex; + justify-content: center; /* Center horizontally */ + align-items: center; /* Center vertically */ + margin: 0; /* Remove default margin */ + padding: 0; /* Remove default padding */ +} + +.btn-primary { + position: relative; /* Positioning for the arrows */ + padding: 10px 50px; /* Add padding to make space for the arrows */ + transition: color 0.3s ease; /* Smooth transition for text color */ + font-size: 16px; /* Adjust font size as needed */ +} + +.btn-primary::after { + content: ' ⪢'; /* Two arrows as content */ + position: absolute; /* Position it absolutely */ + right: 5px; /* Position on the right side */ + top: 50%; /* Center vertically */ + transform: translateY(-55%); /* Adjust vertical position */ + opacity: 0; /* Start with the arrows hidden */ + transition: opacity 0.3s ease; /* Smooth transition for opacity */ +} + +.btn-primary:hover { + color: #ffffff; /* Change text color on hover (optional) */ +} + +.btn-primary:hover::after { + opacity: 1; /* Show the arrows on hover */ +} /*-----------------------------------*\ #CATEGORY diff --git a/assets/css/style.css b/assets/css/style.css index 9106157e..be0795b4 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -470,7 +470,38 @@ body.nav-active { gap: 12px; } +.button-container { + display: flex; + justify-content: center; /* Center horizontally */ + align-items: center; /* Center vertically */ + margin: 0; /* Remove default margin */ + padding: 0; /* Remove default padding */ +} +.btn-primary { + position: relative; /* Positioning for the arrows */ + padding: 10px 50px; /* Add padding to make space for the arrows */ + transition: color 0.3s ease; /* Smooth transition for text color */ + font-size: 16px; /* Adjust font size as needed */ +} + +.btn-primary::after { + content: ' ⪢'; /* Two arrows as content */ + position: absolute; /* Position it absolutely */ + right: 5px; /* Position on the right side */ + top: 50%; /* Center vertically */ + transform: translateY(-55%); /* Adjust vertical position */ + opacity: 0; /* Start with the arrows hidden */ + transition: opacity 0.3s ease; /* Smooth transition for opacity */ +} + +.btn-primary:hover { + color: #ffffff; /* Change text color on hover (optional) */ +} + +.btn-primary:hover::after { + opacity: 1; /* Show the arrows on hover */ +} /*-----------------------------------*\ #Feedback diff --git a/index.html b/index.html index 29ae774d..da32e059 100644 --- a/index.html +++ b/index.html @@ -384,7 +384,11 @@