Template:Button/styles.css: Difference between revisions
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
Created blank page |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Main button style */ | |||
.background_form_element { | |||
display: inline-block; | |||
padding: 0.25em 0.6em; | |||
font-size: 10.2px; | |||
font-family: Verdana, Arial, Helvetica, sans-serif; | |||
font-weight: bold; | |||
line-height: 1.35em; | |||
text-align: center; | |||
color: #2b333c; | |||
cursor: pointer; | |||
user-select: none; | |||
/* Border styling */ | |||
border: 3px double; | |||
border-color: #c4cccc #acb5b5 #6f7777 #acb5b5; | |||
/* Safe background using gradient instead of GIF */ | |||
background: linear-gradient(to bottom, #e0e0e0 0%, #c4c4c4 100%); | |||
border-radius: 4px; | |||
/* Smooth hover transition */ | |||
transition: all 0.2s ease; | |||
} | |||
/* Hover effect */ | |||
.background_form_element:hover { | |||
border-color: #aedf9a #94da78 #6ab94b #94da78; | |||
background: linear-gradient(to bottom, #dff2d0 0%, #b4e184 100%); | |||
} | |||
Revision as of 18:22, 8 April 2026
/* Main button style */
.background_form_element {
display: inline-block;
padding: 0.25em 0.6em;
font-size: 10.2px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
line-height: 1.35em;
text-align: center;
color: #2b333c;
cursor: pointer;
user-select: none;
/* Border styling */
border: 3px double;
border-color: #c4cccc #acb5b5 #6f7777 #acb5b5;
/* Safe background using gradient instead of GIF */
background: linear-gradient(to bottom, #e0e0e0 0%, #c4c4c4 100%);
border-radius: 4px;
/* Smooth hover transition */
transition: all 0.2s ease;
}
/* Hover effect */
.background_form_element:hover {
border-color: #aedf9a #94da78 #6ab94b #94da78;
background: linear-gradient(to bottom, #dff2d0 0%, #b4e184 100%);
}