Skip to content

Commit 072b408

Browse files
Bikram GoleBikram Gole
authored andcommitted
Restyle Material3 Android mascot to anime/chibi look
1 parent b7ffcfe commit 072b408

1 file changed

Lines changed: 101 additions & 44 deletions

File tree

styles.css

Lines changed: 101 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,72 +1936,129 @@ body.browser-vivaldi .penguin-glasses {
19361936
z-index: 2;
19371937
transform-origin: center 82%;
19381938
animation: android-idle 4.4s ease-in-out infinite;
1939-
filter: drop-shadow(0 12px 18px rgba(36, 107, 47, 0.32));
1939+
filter: drop-shadow(0 12px 18px rgba(72, 140, 69, 0.32));
19401940
}
19411941

19421942
.android-head {
19431943
position: absolute;
1944-
left: 30px;
1945-
top: 20px;
1946-
width: 80px;
1947-
height: 48px;
1948-
border-radius: 40px 40px 14px 14px;
1949-
background: #a4c639;
1950-
box-shadow: inset 0 1px 0 rgba(237, 255, 192, 0.32), 0 6px 12px rgba(35, 91, 47, 0.24);
1944+
left: 28px;
1945+
top: 18px;
1946+
width: 84px;
1947+
height: 54px;
1948+
border-radius: 44px 44px 20px 20px;
1949+
background: linear-gradient(170deg, #b8d94b 0%, #9fc63b 68%, #88ad2f 100%);
1950+
box-shadow:
1951+
inset 0 2px 0 rgba(245, 255, 210, 0.5),
1952+
inset 0 -4px 8px rgba(78, 113, 35, 0.22),
1953+
0 8px 16px rgba(55, 102, 42, 0.25);
19511954
}
19521955

19531956
.android-antenna {
19541957
position: absolute;
1955-
top: -14px;
1958+
top: -13px;
19561959
width: 4px;
1957-
height: 14px;
1960+
height: 13px;
19581961
border-radius: 999px;
1959-
background: #a4c639;
1962+
background: #a9cf3d;
19601963
}
19611964

1962-
.android-antenna.left { left: 17px; transform: rotate(-26deg); }
1963-
.android-antenna.right { right: 17px; transform: rotate(26deg); }
1965+
.android-antenna.left { left: 15px; transform: rotate(-28deg); }
1966+
.android-antenna.right { right: 15px; transform: rotate(28deg); }
19641967

19651968
.android-eye {
19661969
position: absolute;
1967-
top: 19px;
1968-
width: 6px;
1969-
height: 6px;
1970+
top: 20px;
1971+
width: 10px;
1972+
height: 12px;
19701973
border-radius: 999px;
19711974
background: #ffffff;
1975+
box-shadow:
1976+
inset 0 -2px 0 rgba(163, 208, 255, 0.42),
1977+
0 1px 0 rgba(72, 106, 30, 0.22);
1978+
}
1979+
1980+
.android-eye::after {
1981+
content: "";
1982+
position: absolute;
1983+
right: 2px;
1984+
top: 2px;
1985+
width: 3px;
1986+
height: 3px;
1987+
border-radius: 999px;
1988+
background: rgba(255, 255, 255, 0.95);
19721989
}
19731990

1974-
.android-eye.left { left: 23px; }
1975-
.android-eye.right { right: 23px; }
1991+
.android-eye.left { left: 18px; }
1992+
.android-eye.right { right: 18px; }
19761993

19771994
.android-body {
19781995
position: absolute;
1979-
left: 25px;
1980-
top: 70px;
1981-
width: 96px;
1982-
height: 74px;
1983-
border-radius: 12px;
1984-
background: #a4c639;
1985-
box-shadow: inset 0 1px 0 rgba(237, 255, 192, 0.28), 0 8px 14px rgba(35, 91, 47, 0.24);
1996+
left: 23px;
1997+
top: 73px;
1998+
width: 100px;
1999+
height: 75px;
2000+
border-radius: 18px 18px 14px 14px;
2001+
background: linear-gradient(170deg, #b3d646 0%, #9cc23a 70%, #84ab2d 100%);
2002+
box-shadow:
2003+
inset 0 2px 0 rgba(242, 255, 205, 0.42),
2004+
inset 0 -5px 9px rgba(80, 118, 33, 0.2),
2005+
0 8px 14px rgba(55, 102, 42, 0.24);
2006+
}
2007+
2008+
.android-body::before {
2009+
content: "";
2010+
position: absolute;
2011+
left: 50%;
2012+
top: 10px;
2013+
transform: translateX(-50%);
2014+
width: 52px;
2015+
height: 9px;
2016+
border-radius: 999px;
2017+
background: rgba(237, 255, 195, 0.42);
2018+
}
2019+
2020+
.android-head::after {
2021+
content: "";
2022+
position: absolute;
2023+
left: 50%;
2024+
bottom: 8px;
2025+
transform: translateX(-50%);
2026+
width: 26px;
2027+
height: 8px;
2028+
border-radius: 0 0 8px 8px;
2029+
border-bottom: 2px solid rgba(67, 102, 22, 0.35);
2030+
}
2031+
2032+
.android-head::before {
2033+
content: "";
2034+
position: absolute;
2035+
left: 8px;
2036+
top: 27px;
2037+
width: 68px;
2038+
height: 11px;
2039+
border-radius: 999px;
2040+
box-shadow:
2041+
-6px 0 0 rgba(255, 172, 182, 0.4),
2042+
52px 0 0 rgba(255, 172, 182, 0.4);
19862043
}
19872044

19882045
.android-date-badge {
19892046
position: absolute;
19902047
left: 50%;
1991-
top: 26px;
2048+
top: 28px;
19922049
transform: translateX(-50%);
1993-
min-width: 34px;
2050+
min-width: 32px;
19942051
text-align: center;
1995-
border-radius: 8px;
1996-
border: 1px solid rgba(58, 96, 33, 0.42);
1997-
background: rgba(236, 255, 197, 0.88);
1998-
color: #264416;
2052+
border-radius: 999px;
2053+
border: 1px solid rgba(81, 121, 35, 0.32);
2054+
background: rgba(245, 255, 220, 0.9);
2055+
color: #294a19;
19992056
font-family: "JetBrains Mono", "Fira Mono", "Courier New", monospace;
20002057
font-size: 11px;
20012058
font-weight: 700;
20022059
letter-spacing: 0.01em;
2003-
padding: 2px 8px;
2004-
box-shadow: 0 2px 7px rgba(47, 88, 29, 0.2);
2060+
padding: 2px 7px;
2061+
box-shadow: 0 2px 8px rgba(70, 111, 33, 0.2);
20052062
}
20062063

20072064
.android-date-badge:empty {
@@ -2012,29 +2069,29 @@ body.browser-vivaldi .penguin-glasses {
20122069
.android-leg {
20132070
position: absolute;
20142071
border-radius: 999px;
2015-
background: linear-gradient(175deg, #76dfaf 0%, #35af71 100%);
2072+
background: linear-gradient(170deg, #add043 0%, #92b831 100%);
20162073
}
20172074

20182075
.android-arm {
2019-
top: 74px;
2020-
width: 14px;
2021-
height: 52px;
2076+
top: 75px;
2077+
width: 15px;
2078+
height: 54px;
20222079
}
20232080

2024-
.android-arm.left { left: 6px; }
2025-
.android-arm.right { right: 6px; }
2081+
.android-arm.left { left: 4px; }
2082+
.android-arm.right { right: 4px; }
20262083

20272084
.android-leg {
2028-
top: 136px;
2029-
width: 16px;
2085+
top: 138px;
2086+
width: 17px;
20302087
height: 28px;
20312088
}
20322089

2033-
.android-leg.left { left: 48px; }
2034-
.android-leg.right { left: 82px; }
2090+
.android-leg.left { left: 46px; }
2091+
.android-leg.right { left: 83px; }
20352092

20362093
body[data-theme="material3"] .avatar-glow {
2037-
background: radial-gradient(circle, rgba(181, 230, 78, 0.42) 0%, rgba(123, 181, 38, 0.16) 58%, transparent 100%);
2094+
background: radial-gradient(circle, rgba(204, 235, 115, 0.48) 0%, rgba(136, 190, 47, 0.18) 58%, transparent 100%);
20382095
}
20392096

20402097
body:not([data-theme="material3"]) .avatar-card .android-avatar {

0 commit comments

Comments
 (0)