forked from indymedia/epicyon
Border radius variable
parent
19ae36a161
commit
206d72ca98
|
@ -31,7 +31,7 @@
|
|||
--gallery-border: #ccc;
|
||||
--gallery-hover: #777;
|
||||
--button-corner-radius: 15px;
|
||||
--border-radius: 30px;
|
||||
--timeline-border-radius: 30px;
|
||||
}
|
||||
|
||||
body, html {
|
||||
|
@ -336,8 +336,8 @@ a:link {
|
|||
.container {
|
||||
border: 2px solid var(--border-color);
|
||||
background-color: var(--main-bg-color);
|
||||
border-radius: 30px;
|
||||
padding: var(--border-radius);
|
||||
border-radius: var(--timeline-border-radius);
|
||||
padding: 20px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
|
|
8
theme
8
theme
|
@ -126,7 +126,7 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
|||
sed -i "s|--button-background:.*|--button-background: #062200;|g" "$filename"
|
||||
sed -i "s|--button-text:.*|--button-text: green;|g" "$filename"
|
||||
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--border-radius:.*|--border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--timeline-border-radius:.*|--timeline-border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|font-family:.*|font-family: Courier;|g" "$filename"
|
||||
sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename"
|
||||
sed -i "s|color: #FFFFFE;|color: green;|g" "$filename"
|
||||
|
@ -144,7 +144,7 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
|||
sed -i "s|--button-background:.*|--button-background: #062200;|g" "$filename"
|
||||
sed -i "s|--button-text:.*|--button-text: green;|g" "$filename"
|
||||
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--border-radius:.*|--border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--timeline-border-radius:.*|--timeline-border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|font-family:.*|font-family: Courier;|g" "$filename"
|
||||
sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename"
|
||||
sed -i "s|color: #FFFFFE;|color: green;|g" "$filename"
|
||||
|
@ -162,7 +162,7 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
|||
sed -i "s|--button-background:.*|--button-background: #062200;|g" "$filename"
|
||||
sed -i "s|--button-text:.*|--button-text: green;|g" "$filename"
|
||||
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--border-radius:.*|--border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--timeline-border-radius:.*|--timeline-border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|font-family:.*|font-family: Courier;|g" "$filename"
|
||||
sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename"
|
||||
sed -i "s|color: #FFFFFE;|color: green;|g" "$filename"
|
||||
|
@ -180,7 +180,7 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
|||
sed -i "s|--button-background:.*|--button-background: #062200;|g" "$filename"
|
||||
sed -i "s|--button-text:.*|--button-text: green;|g" "$filename"
|
||||
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--border-radius:.*|--border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|--timeline-border-radius:.*|--timeline-border-radius: 4px;|g" "$filename"
|
||||
sed -i "s|font-family:.*|font-family: Courier;|g" "$filename"
|
||||
sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename"
|
||||
sed -i "s|color: #FFFFFE;|color: green;|g" "$filename"
|
||||
|
|
Loading…
Reference in New Issue